how to do session management with python ?

Tim Churches tchur at optushome.com.au
Sun May 19 15:41:02 EDT 2002


Matthew Chong wrote:
> 
> Java has servlet feature to take care of session tracking...
> but how does python do it ??

As Ian Bickering has pointed out, session management is usually provided
by 
third-party Web application framework which you choose to use (as is the
case
with Java too: session management servlets are part of an app framework,
not
part of the Java language itself).

For example, the Albatross framework provides mechanisms not only for
tracking
sessions but also for automatically managing the application context
associated
with each session. It provides a number of alternative methods for doing
this via
mixins, including storing context in a compressed (and optionally
cryptographically
signed) hidden field, in a file in the server local filesystem, or using
a stand-alone
session server accessed across the network via TCP. Alternative or
enhanced methods
can be added by the application developer through replacement or mixin
classes.
Details available at http://www.object-craft.com.au/projects/albatross/

Tim C





More information about the Python-list mailing list