LOGOUT From Application using ASP

LOGOUT From Application using ASP

am 16.01.2007 05:23:29 von 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...

Re: LOGOUT From Application using ASP

am 16.01.2007 10:06:11 von Anthony Jones

"SSG" wrote in message
news:1168921408.980676.129660@a75g2000cwd.googlegroups.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.

Re: LOGOUT From Application using ASP

am 16.01.2007 16:40:40 von Dave Anderson

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.