views:

10

answers:

0

Hi,

I am finding that my classic asp sessions (time-out set in IIS) are lasting longer than they should.

If you set the IIS session timeout to 1 minute, i'd expect them to last 1 minute between the last http request of a page and if a new http request comes in > 1 min after, as new session created.

I have a page setup that has a JavaScript count down (i've taken steps to ensure that the count down is accurate). Once the count down is finished, it makes an AJAX call and gets sets a new cookie (set in Session_OnStart).

I'm using an http debugginer proxy (the fiddler) and I can see that the ajax call is being made fine at 1 minute intervals, but the session isn't being destroyed.

If on the other hand I set the count down to last 100 seconds, it behaves fine. So for some reason my session is lasting longer than expected.

-thanks Alex.