Re: Session Losing Data
ASP.NET
Thread Starter: mike55
Started:
Replies: 2

Ireland .NET Developer Alliance :: Forums » Technologies » ASP.NET » Re: Session Losing Data
« Previous Thread
   Today, 10:37
mike55 is not online. Last active: 28/04/2005 17:04:02 mike55

Top 10 Posts
Joined on 01-20-2005
Posts 13
Session Losing Data
Hi,

Am using Sessions to store datasets that are full of data from the database. In my web config file the session timeout value is set to 20 (I'm assuming that this is 20 minutes). I have also gone to IIS and in the properties for the default have set the timeout to 40 minutes.

However the problem seems to be that my sessions are loosing the data they are storing after about 10 minutes. Any suggestions on what could possible be doing this?

Mike55

  
   Today, 11:06
Paschal is not online. Last active: 28/04/2005 11:06:27 Paschal

Top 10 Posts
Joined on 27-10-2004
Posts 92
Re: Session Losing Data
Hi Mike

If you rely strongly on sessions for your application I suggest you switch to session stored in a database. This will work with a SQL database and it's quite simple to install.
Because it's in the db, you can of course do a lot more like stats for instance.
Check this article on MSDN for all the plumbing.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspnet/html/asp12282000.asp

P.
 
    
   Today, 5:03
mike55 is not online. Last active: 28/04/2005 17:04:02 mike55

Top 10 Posts
Joined on 01-20-2005
Posts 13
Re: Session Losing Data
Hi Paschal,

Thanks for the suggestion and the article link, will seriously take a look at it.

Mike55
  
  Page 1 of 1 (3 items)
Ireland .NET Developer Alliance :: Forums » Technologies » ASP.NET » Re: Session Losing Data

Powered by Community Server :: Forums