Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > BackButton + Session = Dang! I'm Lost!

Reply
Thread Tools

BackButton + Session = Dang! I'm Lost!

 
 
=?Utf-8?B?Rmxhc2hNZXJsb3Q=?=
Guest
Posts: n/a
 
      07-05-2007
We're using C# & VS 2005. In our app ... someone is "logged-in" if
Session("companyID") exists and is non-zero.

How do we implement a "Logout" button that signs off session, sets
Session("companyID")=0, and prevents another person from (later) using the
BACK button ... in the SAME IE window? BUT, our users want the BACK button
functionality at all other times?

Any advice or technique would be appreciated.

P.S. apparently the LOAD event does not fire for a webpage when the BACK
button is used .... right?

--
F.V.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Html-javascr. backbutton issue ? (firefox!) catalyst HTML 5 06-24-2008 06:04 PM
AJAX and refresh/location bar/backbutton woes (adding to history) petermichaux@gmail.com Javascript 4 07-07-2006 08:30 PM
How to trap backbutton of IE 6.0 =?Utf-8?B?bWFj?= ASP .Net 2 06-07-2006 06:52 PM
Session State - What does it take to establish one single ASP.NET session per "browser session" Jeff Smythe ASP .Net 3 01-02-2004 04:10 AM
backbutton problem Stuart Wexler Javascript 1 10-14-2003 10:46 PM



Advertisments