472,141 Members | 1,218 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,141 software developers and data experts.

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 3814

"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 Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.