Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

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

1 Answer 1

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.

share|improve this answer
    
Bugger, that seems a tad daft and memory hogging. –  Chris McKee Aug 12 '09 at 20:57
    
Thanks :o) –  Chris McKee 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 McKee Aug 12 '09 at 21:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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