BackButton + Session = Dang! I'm Lost!

Discussion in 'ASP .Net' started by =?Utf-8?B?Rmxhc2hNZXJsb3Q=?=, Jul 5, 2007.

  1. 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.
     
    =?Utf-8?B?Rmxhc2hNZXJsb3Q=?=, Jul 5, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?bWFj?=

    How to trap backbutton of IE 6.0

    =?Utf-8?B?bWFj?=, Jun 7, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    3,325
    =?Utf-8?B?bWFj?=
    Jun 7, 2006
  2. Mr. SweatyFinger

    dang dang dang checkboxlist

    Mr. SweatyFinger, Jan 3, 2007, in forum: ASP .Net
    Replies:
    5
    Views:
    639
    Mr. SweatyFinger
    Jan 3, 2007
  3. catalyst
    Replies:
    5
    Views:
    573
    Jukka K. Korpela
    Jun 24, 2008
  4. middletree

    Dang!Dang!

    middletree, Dec 24, 2003, in forum: ASP General
    Replies:
    16
    Views:
    275
    Foo Man Chew
    Dec 24, 2003
  5. Stuart Wexler

    backbutton problem

    Stuart Wexler, Oct 13, 2003, in forum: Javascript
    Replies:
    1
    Views:
    120
    kaeli
    Oct 14, 2003
Loading...

Share This Page