Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / July 2005

Tip: Looking for answers? Try searching our database.

Session ending prematurely - Forms Authentication

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Donald Scott - 15 Jul 2005 15:08 GMT
We are having a problem with sessions ending sooner then they should.  We
have a two server web garden, both servers have identical machine keys.  I'm
storing session state in Sql Server.  Sessions expire in 20 minutes even
though I have changed the settings in the web.config, for both the forms
authentication as well as the session.  I have the timeout set for 90, but
still times out in 20 minutes.   I copied the entire website down to my local
development machine, fired it up and it times out correctly in 90 minutes.  
The web servers are 2003 and the development machine is XP SP2.   Neither
webservers or development machine are running anti-virus software, I am aware
there is a problem with some anti-virus software, however that does not apply
to this.  Any ideas?
Lars Netzel - 20 Jul 2005 07:25 GMT
Check the IIS setting for the Session Timeout. I have had the same problems
and I felt (after som experimenting ) that the Timeout is the lowest setting
of the two places where you can set it. So set it in both the IIS and in the
web.config. I actually went I step further and set it on the session itself
in runtime when a user logs into our application.

/Lars

> We are having a problem with sessions ending sooner then they should.  We
> have a two server web garden, both servers have identical machine keys.
[quoted text clipped - 11 lines]
> apply
> to this.  Any ideas?
Donald Scott - 20 Jul 2005 13:31 GMT
Ya IIS session is set to 90 as well, and i did notice that an ASP session is
not being created because I do not call any asp pages only .net

> Check the IIS setting for the Session Timeout. I have had the same problems
> and I felt (after som experimenting ) that the Timeout is the lowest setting
[quoted text clipped - 19 lines]
> > apply
> > to this.  Any ideas?

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.