DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Thu, 09 Aug 2007 22:35:35 GMT,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    SJ


ASP .NET cookies / session   
So, Here's whats happening -

In my web app, I set a cookie to expire after an hour(60mins) from the time
it was created. As far as I know, I have also set the session to last for
60mins.
FYI: I have a background (AJAX) request polling every 46secs.

The strange thing thats happening though is that 30mins from when the cookie
was created, the the expiration time on the cookie gets changed from the
specified end time to - "At end of session" and i get logged out. (I know
this is happnening because I have set Firefox to "ask everytime" a cookie is
set.)

I have checked the <forms/> tag in both web.config and machine.config. And I
have checked the session state timeout value in IIS. They're all set to
60mins.

So why is my session timing out at 30mins?

-Shefali.
Date:Thu, 09 Aug 2007 22:35:35 GMT   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us