Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .NET cookies / session

Reply
Thread Tools

ASP .NET cookies / session

 
 
SJ
Guest
Posts: n/a
 
      08-09-2007
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.


 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Give Request.Cookies and Response.Cookies is there any reason to use another method to use cookies? _Who ASP .Net 7 09-18-2008 07:49 PM
Passing Session Cookies from ASP to ASP.NET Neil Negandhi ASP .Net 1 02-04-2005 06:29 PM
Response.Cookies vs Request.Cookies Alex Nitulescu ASP .Net 1 02-03-2005 09:43 AM
Session State - What does it take to establish one single ASP.NET session per "browser session" Jeff Smythe ASP .Net 3 01-02-2004 04:10 AM
Persistent Cookies vs. session cookies Andy Fish Java 3 11-06-2003 10:44 AM



Advertisments