Re: Session close

Discussion in 'ASP .Net' started by Joerg Jooss, Sep 2, 2004.

  1. Joerg Jooss

    Joerg Jooss Guest

    Amar wrote:
    > Hi,
    >
    > I am developing a web application. User logs into my application.
    > User Information is stored in the session. User can open multiple
    > windows of an aspx page. Whenever user logs out of any of the pages,
    > I am calling Session.Abandon method. After that, if user logs in
    > again with some other id, the pages which were present in old user id
    > gets changed to reflect the new id. I don't want this to happen. It
    > should simply say, user has logged out.
    >
    > How do I achieve this with session with asp.net? Please Help me..


    This happens because all these browser windows run within the same browser
    instance and share your application's session cookie. You could switch to
    URL rewriting , this will at least keep the session id tied to the browser
    window, though it is prone to other problems.

    Cheers,

    --
    Joerg Jooss
    Joerg Jooss, Sep 2, 2004
    #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. Denon
    Replies:
    1
    Views:
    561
    Saravana [MVP]
    Nov 14, 2003
  2. Daniel Albisser
    Replies:
    1
    Views:
    1,057
    GaryM
    Apr 7, 2004
  3. Paul van Rossem
    Replies:
    0
    Views:
    593
    Paul van Rossem
    Apr 7, 2005
  4. S_K
    Replies:
    6
    Views:
    648
    Russell
    Dec 7, 2007
  5. Iñaki Baz Castillo
    Replies:
    7
    Views:
    821
    Iñaki Baz Castillo
    Jan 12, 2010
Loading...

Share This Page