+ Reply to Thread
Results 1 to 2 of 2

Thread: Forms Authentication Session Staying Open

  1. #1
    Administrator richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere only we know...
    Posts
    3,207
    Blog Entries
    14
    Real Name
    Rich
    Rep Power
    14

    Forms Authentication Session Staying Open

    As most of you know, I've setup my app to use forms authentication and have been having a few "issues".

    I've been playing around with code to prevent multiple logins and had something kind of working. But it seemed if you didn't log off and just shut down all instances of the browser, when opening a new instance, you could navigate straight to the site without authenticating.

    So, I think I've set everything back as it was, but this is still happening. I can't remember if I ever tried this before I started playing with the code so don't know if this always happens when using forms authentication.

    I presume the user's session is remaining open and therefore they don't have to re-authenticate, but I would have thought closing the browser down completely should remove the session.

    Any ideas if this is right or not?

  2. #2
    Administrator richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich is a splendid one to behold richyrich's Avatar
    Join Date
    Mar 2008
    Location
    Somewhere only we know...
    Posts
    3,207
    Blog Entries
    14
    Real Name
    Rich
    Rep Power
    14

    It's OK. I sorted it.

    I hadn't noticed before but I was creating a persistent cookie when logging the user on using forms authentication.

    What an idiot!!!

    Sorry everyone....

+ Reply to Thread

Similar Threads

  1. VB6 MODAL and MODELESS forms?
    By theChris in forum Visual Basic Programming
    Replies: 2
    Last Post: December 21st, 2010, 09:59 PM
  2. Quick Links - Combo Open Forms
    By AOG123 in forum Access Database Samples
    Replies: 0
    Last Post: June 4th, 2008, 09:46 AM
  3. HttpException - Session State not enabled.
    By Wolffy in forum .NET Development
    Replies: 3
    Last Post: May 21st, 2008, 10:40 AM
  4. Open Web Page
    By Jaykappy in forum Microsoft Access
    Replies: 2
    Last Post: May 14th, 2008, 07:32 PM
  5. Maintaining Form Data after forms authentication timeout
    By richyrich in forum .NET Development
    Replies: 13
    Last Post: April 17th, 2008, 02:28 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

SEO by vBSEO