Master Page Controls & New Session

  • Thread starter Thread starter Ian Semmel
  • Start date Start date
I

Ian Semmel

I have a master page with a LoginView control in a left pane. This all
works OK.

However, when a session expires and a user clicks a link, I go to a
'Session Expired' page and ask them to click a link to go back to my
Default.aspx. When this comes up, the page looks OK but the controls in
the master page have disappeared.

Is there something I can do to get the Default.aspx to load as if I had
navigated to it from a browser ?
 
As I recall you will need to raise a PostBack so the compiler can rebuild
the state of the control tree so try this:

Server.Execute("default.aspx")

<%= Clinton
 
Back
Top