diff options
| author | Tres Seaver <tseaver@palladion.com> | 2013-01-29 09:02:34 -0800 |
|---|---|---|
| committer | Tres Seaver <tseaver@palladion.com> | 2013-01-29 09:02:34 -0800 |
| commit | f2ee7b57b246bb53d21db1fb76aaab541fa01527 (patch) | |
| tree | a20b0c74870c2063495289ad715d02f3147a443b | |
| parent | 1b6597161ff487933c45741963e5fc983c588de3 (diff) | |
| parent | 63ce17101695073a9e330af7099b908a48be40a5 (diff) | |
| download | pyramid-f2ee7b57b246bb53d21db1fb76aaab541fa01527.tar.gz pyramid-f2ee7b57b246bb53d21db1fb76aaab541fa01527.tar.bz2 pyramid-f2ee7b57b246bb53d21db1fb76aaab541fa01527.zip | |
Merge pull request #822 from tshepang/session
some pyramid.session API doc improvements
| -rw-r--r-- | pyramid/session.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pyramid/session.py b/pyramid/session.py index a5e6a8d3a..7db8c8e0e 100644 --- a/pyramid/session.py +++ b/pyramid/session.py @@ -140,30 +140,30 @@ def UnencryptedCookieSessionFactoryConfig( A number of seconds of inactivity before a session times out. ``cookie_name`` - The name of the cookie used for sessioning. Default: ``session``. + The name of the cookie used for sessioning. ``cookie_max_age`` The maximum age of the cookie used for sessioning (in seconds). Default: ``None`` (browser scope). ``cookie_path`` - The path used for the session cookie. Default: ``/``. + The path used for the session cookie. ``cookie_domain`` The domain used for the session cookie. Default: ``None`` (no domain). ``cookie_secure`` - The 'secure' flag of the session cookie. Default: ``False``. + The 'secure' flag of the session cookie. ``cookie_httponly`` - The 'httpOnly' flag of the session cookie. Default: ``False``. + The 'httpOnly' flag of the session cookie. ``cookie_on_exception`` If ``True``, set a session cookie even if an exception occurs - while rendering a view. Default: ``True``. + while rendering a view. ``signed_serialize`` - A callable which takes more or less arbitrary python data structure and + A callable which takes more or less arbitrary Python data structure and a secret and returns a signed serialization in bytes. Default: ``signed_serialize`` (using pickle). |
