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 / Caching / August 2005

Tip: Looking for answers? Try searching our database.

ASP.NET IE BACK BUTTON PROBLEM

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
patra_robin@yahoo.com - 25 Aug 2005 06:22 GMT
Hi All,

I am facing a peculiar problem in my ASP.NET aplication

Let i have got following page

Login Page---->Page 1---->Page 2------> Page 3.

After i login i go from Login Page to Page 1 and then Page 2 and then
Page 3.
And when i logout again i am redirected to Login Page.
But if i click the back button of the browser i can see the contect of
first Page 3 the Page 2 and then Page 1.

I want a solution where after i logout from application even if i click
Back button i should not be allowed to go to previous visited page.

Any idea any suggeston is quite appreciated.

Thanks in advance.

Regards
Robin
Scott M. - 27 Aug 2005 21:26 GMT
Use the Response.Expires object/property to expire the contents of pages 1,
2, and 3 immediately so that if the user "backs up" to these pages, they
will see "warning: the page contents have expired".

You can't prevent someone from going to these pages (well, you could
redirect them away from these pages if they aren't currently logged in, but
then you have to track the logged in status of a user).

> Hi All,
>
[quoted text clipped - 19 lines]
> Regards
> Robin

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.