Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / January 2008

Tip: Looking for answers? Try searching our database.

Master Page Controls & New Session

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ian Semmel - 31 Jan 2008 05:38 GMT
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 ?
Eliyahu Goldin - 31 Jan 2008 09:10 GMT
I think you better post relevant parts of the code before someoone can help
you.

Signature

Eliyahu Goldin,
Software Developer
Microsoft MVP [ASP.NET]
http://msmvps.com/blogs/egoldin
http://usableasp.net

>I have a master page with a LoginView control in a left pane. This all
>works OK.
[quoted text clipped - 6 lines]
> Is there something I can do to get the Default.aspx to load as if I had
> navigated to it from a browser ?
clintonG - 31 Jan 2008 22:41 GMT
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

>I have a master page with a LoginView control in a left pane. This all
>works OK.
[quoted text clipped - 6 lines]
> Is there something I can do to get the Default.aspx to load as if I had
> navigated to it from a browser ?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.