469,935 Members | 1,730 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,935 developers. It's quick & easy.

LOGOUT From Application using ASP

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...

Jan 16 '07 #1
2 3790

"SSG" <ss****@gmail.comwrote in message
news:11**********************@a75g2000cwd.googlegr oups.com...
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.

Jan 16 '07 #2
SSG wrote:
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.


--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms.
Jan 16 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Tuan | last post: by
1 post views Thread by MichaelR | last post: by
reply views Thread by Michael Groeger | last post: by
10 posts views Thread by chaos | last post: by
1 post views Thread by shrik | last post: by
3 posts views Thread by kpg* | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.