Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: How to prevent a user from accessing the previous page after he logs out?


Message #1 by "sastry o" <sastry_sa@y...> on Fri, 14 Sep 2001 12:24:26
Sir,

     I want to prevent a user from accessing the previous page after he 

logs out. 



 I have called the Session.Abandon method in order to terminate the 

Session. But when a user clicks the Back option of IE the system displays 

the previous page that hes has accessed.



 I want to prevent this. How to do it?



 I also want to find out which version of Netscape Navigator interprets 

Java Script.



 I want your help in order to accomplish the above tasks.



 regards

O.Patanjali Sastry
Message #2 by "Ken Schaefer" <ken@a...> on Mon, 17 Sep 2001 19:07:52 +1000
Expire the pages (and/or prevent caching), so that the browser always goes

back to the server to get a fresh copy of the page. At the top of each page

you call a routine that checks whether the user is logged in. If they

aren't, then you redirect to the login page.



Cheers

Ken



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From: "sastry o" <sastry_sa@y...>

Subject: [asp_web_howto] How to prevent a user from accessing the previous

page after he logs out?





: Sir,

:      I want to prevent a user from accessing the previous page after he

: logs out.

:

:  I have called the Session.Abandon method in order to terminate the

: Session. But when a user clicks the Back option of IE the system displays

: the previous page that hes has accessed.

:

:  I want to prevent this. How to do it?

:

:  I also want to find out which version of Netscape Navigator interprets

: Java Script.

:

:  I want your help in order to accomplish the above tasks.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




  Return to Index