On Tue, 16 Aug 2005 17:06:57 -0400 (EDT), "mike bayer" <[EMAIL PROTECTED]> said: > I also > think server-side sessions are an easy place to store user preferences > and > permissioning information originally loaded from the database, as a quick > and easy way to cut down on repeated database calls per request, which is > not as cleanly represented as an extra few thousand characters sent back > and forth with every request.
Now that's an example of when I think sessions are a poor solution. IMO caching objects from the database is the job for the, well, database object cache. :) They are similar but not identical. For instance, while session data typically expires after a certain amount of time, permanent data should never expire unless invalidated by an update. -Jonathan _______________________________________________ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/archive%40mail-archive.com