Is possible to terminate all session variable created
without closing the browser

I do not want users to click on BACK button on browser or paste the url link
in the http:// and shows the record displayed after logout. This works fine
if users close the Browser.

Re: session vars by Ray

Ray
Mon Dec 13 13:27:51 CST 2004

It sounds from your question that you actually want to end the session,
which will in turn destroy all the session variables. Use Session.Abandon.
As far as using the back button, the values will still display in the page
unless the page is set not to cache.
(http://www.aspfaq.com/show.asp?id=2022)

Ray at work

"Al" <jodizco@msn.com> wrote in message
news:uxD48kU4EHA.2288@TK2MSFTNGP11.phx.gbl...
> Is possible to terminate all session variable created
> without closing the browser
>
> I do not want users to click on BACK button on browser or paste the url
link
> in the http:// and shows the record displayed after logout. This works
fine
> if users close the Browser.
>
>
>



Re: session vars by Evertjan

Evertjan
Mon Dec 13 13:33:00 CST 2004

Al wrote on 13 dec 2004 in microsoft.public.inetserver.asp.general:
> Is possible to terminate all session variable created
> without closing the browser

Removing all session variables can be done by

Session.Contents.RemoveAll()

or more drastically by

Session.abandon.

> I do not want users to click on BACK button on browser or paste the
> url link in the http:// and shows the record displayed after logout.
> This works fine if users close the Browser.

Session variables live on the server only and have nothing to do with your
clientside problem.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Re: session vars by Al

Al
Mon Dec 13 16:30:40 CST 2004

I this Session.abandon. already but still don't work
if I press the BACK botton it display the record.
and it only get destroyed when user close the Browser.

Thanks Again

"Evertjan." <exjxw.hannivoort@interxnl.net> wrote in message
news:Xns95BED0F4E2667eejj99@194.109.133.29...
> Al wrote on 13 dec 2004 in microsoft.public.inetserver.asp.general:
>> Is possible to terminate all session variable created
>> without closing the browser
>
> Removing all session variables can be done by
>
> Session.Contents.RemoveAll()
>
> or more drastically by
>
> Session.abandon.
>
>> I do not want users to click on BACK button on browser or paste the
>> url link in the http:// and shows the record displayed after logout.
>> This works fine if users close the Browser.
>
> Session variables live on the server only and have nothing to do with your
> clientside problem.
>
> --
> Evertjan.
> The Netherlands.
> (Please change the x'es to dots in my emailaddress)



Re: session vars by Ray

Ray
Tue Dec 14 08:11:27 CST 2004

Did you read the the second half of my post?

Ray at work

"Al" <jodizco@msn.com> wrote in message
news:%23QL6eNW4EHA.1300@TK2MSFTNGP14.phx.gbl...
> I this Session.abandon. already but still don't work
> if I press the BACK botton it display the record.
> and it only get destroyed when user close the Browser.
>
> Thanks Again
>
> "Evertjan." <exjxw.hannivoort@interxnl.net> wrote in message
> news:Xns95BED0F4E2667eejj99@194.109.133.29...
> > Al wrote on 13 dec 2004 in microsoft.public.inetserver.asp.general:
> >> Is possible to terminate all session variable created
> >> without closing the browser
> >
> > Removing all session variables can be done by
> >
> > Session.Contents.RemoveAll()
> >
> > or more drastically by
> >
> > Session.abandon.
> >
> >> I do not want users to click on BACK button on browser or paste the
> >> url link in the http:// and shows the record displayed after logout.
> >> This works fine if users close the Browser.
> >
> > Session variables live on the server only and have nothing to do with
your
> > clientside problem.
> >
> > --
> > Evertjan.
> > The Netherlands.
> > (Please change the x'es to dots in my emailaddress)
>
>