Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > IIS6 ASP Sessions losts ????

Reply
Thread Tools

IIS6 ASP Sessions losts ????

 
 
Mathieu MARCIACQ
Guest
Posts: n/a
 
      10-24-2007
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 !
 
Reply With Quote
 
 
 
 
Anthony Jones
Guest
Posts: n/a
 
      10-24-2007
"Mathieu MARCIACQ" <> wrote in message
news:471f3de2$0$25909$...
> 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


 
Reply With Quote
 
 
 
 
Mathieu MARCIACQ
Guest
Posts: n/a
 
      10-25-2007
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.
 
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
Moving from ASP Sessions to Database Sessions Bookham Measures ASP General 19 08-23-2007 03:51 PM
Cookieless Sessions (Sessions Without Cookies) and Security scottymo ASP .Net Security 3 09-29-2006 11:00 PM
running ASP.NET 1.4 and ASP.NET 2.05 on the same IIS6 =?Utf-8?B?ZW1zdHJlZXQ=?= ASP .Net 2 08-04-2006 08:35 PM
Re: Relationship between IIS Sessions and ASP.NET Sessions? Ken Cox [Microsoft MVP] ASP .Net 1 08-08-2003 03:22 PM
Writing ASP.NET on IIS6 and publishing to IIS5 Brian Henry ASP .Net 1 06-25-2003 08:52 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57