IIS6 ASP Sessions losts ????

IIS6 ASP Sessions losts ????

am 24.10.2007 14:43:16 von Mathieu MARCIACQ

Hi.

I've a curious thing...

My sessions variables are resetted without any more information from
time to time.

I am calling /Alive.asp every 5 minutes. (Doesn't really do anything by
itself, it is here only to keep alive the sessions)
And from time to time, a Session_OnStart is called again ! (And my
Session variables are resetted)
I've checked this with the AppendToLog in the Session_onStart

- The cookie ASPSESSIONID has not changed
- It's not a session timeout (20minutes)
- There is nothing in the eventlog about pool recycling
(Default settings for this)


Have you any idea ?

Thanks !

Re: IIS6 ASP Sessions losts ????

am 24.10.2007 23:09:25 von Anthony Jones

"Mathieu MARCIACQ" wrote in message
news:471f3de2$0$25909$ba4acef3@news.orange.fr...
> Hi.
>
> I've a curious thing...
>
> My sessions variables are resetted without any more information from
> time to time.
>
> I am calling /Alive.asp every 5 minutes. (Doesn't really do anything by
> itself, it is here only to keep alive the sessions)
> And from time to time, a Session_OnStart is called again ! (And my
> Session variables are resetted)
> I've checked this with the AppendToLog in the Session_onStart
>
> - The cookie ASPSESSIONID has not changed
> - It's not a session timeout (20minutes)
> - There is nothing in the eventlog about pool recycling
> (Default settings for this)
>
>
> Have you any idea ?

None. My guess is that whilst a the existing Session cookie hasn't changed
its defunct and a new Session cookie has been added (note that ASPSESSION
cookie names identify the instance of an application). It's my guess that
this will have been caused by the application pool being recycled. Monitor
the ProcessID of the w3wp.exe process hosting the application, when
Session_OnStart fires has is the ProcessID still the same?




--
Anthony Jones - MVP ASP/ASP.NET

Re: IIS6 ASP Sessions losts ????

am 25.10.2007 10:13:43 von Mathieu MARCIACQ

Anthony Jones a écrit :
> None. My guess is that whilst a the existing Session cookie hasn't changed
> its defunct and a new Session cookie has been added (note that ASPSESSION
> cookie names identify the instance of an application). It's my guess that
> this will have been caused by the application pool being recycled. Monitor
> the ProcessID of the w3wp.exe process hosting the application, when
> Session_OnStart fires has is the ProcessID still the same?
>
>
>
>
Will check this. Doesn't it record anything in the eventlog about this ?
How can I track the website that cause the pool recycling ?

Thanks.