We have a site being setup on IIS 6 (or 7 if im really lucky) and was told not to use sessions too much as the server had limited application memory (32bit Server 2Gig of ram for IIS). My understanding (based on unix/linux apache hosting and lighttpd) was that session data etc was stored in actual files.

Is it memory or filestorage?

link|improve this question

I had a brain fart and am updating my answer...... Please reread! – squillman Aug 12 '09 at 20:59
feedback

1 Answer

up vote 2 down vote accepted

Actually, there are a number ways to store session information (assuming you're using ASP.NET). In memory is one option which you do need to be careful of. I believe you can change it via your app's web.config. You can use other things like cookies or SQL Server to store state info. Here's a MSDN article that talks about ASP.NET session state. Here's another article that discusses choosing the storage location.

link|improve this answer
Bugger, that seems a tad daft and memory hogging. – Chris M Aug 12 '09 at 20:57
Thanks :o) – Chris M Aug 12 '09 at 21:01
Yeah, sorry for the original post... Was in classic ASP mode in which session state was stored in memory. – squillman Aug 12 '09 at 21:07
Thanks again; I still have to deal with Classic ASP so its handy to know all of it :o) Ta – Chris M Aug 12 '09 at 21:24
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.