Hi,
If your application pool is recycled then it can affect your sessions, you need to set the application pool recycle on the Application pool that your site is using in IIS - be aware other sites could also be using the same pool, so it maybe worth putting your site in it's own pool before doing this.
You can give the recycle a time out value e.g. after 27 hours recycle the pool or get it to recycle at a set time each day e.g. recycle the pool at 1 am each day.
If I was building something like an intranet where all your users where in a single time zone etc I'd go with the recycle at 1 am approach, if it's a web site where users could be coming in at any hour I'd push the recycle out as far as I could which I think is 27 hours...
G_Waddell
Posting Whiz in Training
255 posts since Nov 2009
Reputation Points: 43
Solved Threads: 27