Re: Session variables & RAM vs. DB Queries

2002-05-23 Thread Phillip Morelock
you should absolutely minimize the amount of things you keep in the session, IMHO. The database is made for scaling like this, session objects are not. Basically the database will be able to handle concurrent uses better than cramming data into the session. I store very little information in th

Session variables & RAM vs. DB Queries

2002-05-23 Thread Richard Diaz
I'm currently doing DB Queries and holding the users information in session objects... trying to keep the query load on the database down to a minimum by using these session objects (MVC2). My question is where do I draw the line as far as how much RAM each user gets? When do I free up those sess