1) What is the acceptable range of sizes of objects that should be attached to the session? If I attach an object that can be 5k, and I have 10k valid sessions at any given time, then 50MB of memory, which seems acceptable to me. Is this really suitable for solving this problem or are there other significant issues?
2) This is probably a stupid question, but if I attach an object to a session with a 2-week life cycle, can I access the attribute as if it had been in memory for the entire session?
3) Is there any reason NOT to always save session information in the database?
source share