LOGOUT From Application using ASP

S

SSG

Dear All,

How to logout from the application using ASP , session object..

Can u explain the use of Global.asa file & Once i logded out , if i
clik Back button in browser, it shuldnt allow to view the authorised
page...
 
A

Anthony Jones

SSG said:
Dear All,

How to logout from the application using ASP , session object..

Can u explain the use of Global.asa file & Once i logded out , if i
clik Back button in browser, it shuldnt allow to view the authorised
page...

You can use Session.Abandon to assist in logging out a session.

However, there is little you can do when the user clicks the back button.
Quite often the browser still has a rendered copy of the page and
re-displays it without asking the server for permission.
 
D

Dave Anderson

SSG said:
How to logout from the application using ASP , session object..

Can u explain the use of Global.asa file & Once i logded out ,
if i clik Back button in browser, it shuldnt allow to view the
authorised page...

There is no requirement that a browser refresh anything in its history.

One approach to the problem is to redirect to the protected page AT LOGOFF.
This should replace the history entry for that page, and trigger the LOGON
page. This seems to trip up the history in IE and Opera, but has no effect
on Gecko browsers.

Of course, the history belongs to the user, not to you. If you showed it to
him, then he has the right to see it again.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,062
Latest member
OrderKetozenseACV

Latest Threads

Top