DeveloperBarn Forums

DeveloperBarn

Programming & IT forum

Forms Authentication Session Staying Open

This is a discussion on Forms Authentication Session Staying Open within the .Net Development forums, part of the Programming & Scripting category; As most of you know, I've setup my app to use forms authentication and have been having a few "issues". ...

Go Back   DeveloperBarn Forums > Programming & Scripting > .Net Development

  #1  
Old July 5th, 2008, 12:19 PM
richyrich's Avatar
Administrator


 
Join Date: Mar 2008
Location: Somewhere only we know...
Posts: 876
Thanks: 46
Thanked 76 Times in 75 Posts
Blog Entries: 2
Rep Power: 5
richyrich is just really nicerichyrich is just really nicerichyrich is just really nicerichyrich is just really nice
Default 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?
Reply With Quote
  #2  
Old July 5th, 2008, 12:30 PM
richyrich's Avatar
Administrator


 
Join Date: Mar 2008
Location: Somewhere only we know...
Posts: 876
Thanks: 46
Thanked 76 Times in 75 Posts
Blog Entries: 2
Rep Power: 5
richyrich is just really nicerichyrich is just really nicerichyrich is just really nicerichyrich is just really nice
Default

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 With Quote
Reply

  DeveloperBarn Forums > Programming & Scripting > .Net Development

Bookmarks

Thread Tools
Display Modes

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 On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Quick Links - Combo Open Forms AOG123 Access Database Samples 0 June 4th, 2008 08:46 AM
HttpException - Session State not enabled. Wolffy .Net Development 3 May 21st, 2008 09:40 AM
Open Web Page Jaykappy Microsoft Access 2 May 14th, 2008 06:32 PM
VB6 MODAL and MODELESS forms? theChris Visual Basic Programming 1 April 22nd, 2008 08:41 PM
Maintaining Form Data after forms authentication timeout richyrich .Net Development 13 April 17th, 2008 01:28 AM


All times are GMT -4. The time now is 08:20 PM.


Copyright ©2008-2009, DeveloperBarn

Content Relevant URLs by vBSEO 3.3.0