Ñò
ô†³Kc @ s… d Z d d k l Z d d k Z d d k Z d d k Z d d k Z d d k Z d d k Z y d d k Z Wn e
j
o d d k Z n Xy d d k l
Z
Wn# e
j
o d d k
l
Z
n Xd d k l Z d d k l Z d e f d „ ƒ YZ d e f d
„ ƒ YZ d a e a e i d d ƒ a d e f d „ ƒ YZ d e f d „ ƒ YZ e ƒ Z e e e e e d „ Z d S( s²
Creates a session object in your WSGI environment.
Use like:
..code-block:: Python
environ['paste.session.factory']()
This will return a dictionary. The contents of this dictionary will
be saved to disk when the request is completed. The session will be
created when you first fetch the session dictionary, and a cookie will
be sent in that case. There's current no way to use sessions without
cookies, and there's no way to delete a session except to clear its
data.
@@: This doesn't do any locking, and may cause problems when a single
session is accessed concurrently. Also, it loads and saves the
session for each request, with no caching. Also, sessions aren't
expired.
iÿÿÿÿ( t SimpleCookieN( t md5( t wsgilib( t requestt SessionMiddlewarec B s e Z d d „ Z d „ Z RS( c K s | | _ | | _ d S( N( t applicationt
factory_kw( t selfR t global_confR ( ( s1 /usr/lib/python2.6/site-packages/paste/session.pyt __init__/ s c sƒ t | | i ‰ ˆ | d