The session object supports the following methods:
) |
key, [block=True]) |
True
reserved keys will be blocked otherwise the method will return their value.
key, key, [block=True]) |
True
reserved keys will be blocked otherwise they will be set.
key, [block=True]) |
True
reserved keys will be blocked.
key, [block=True]) |
True
if key exists on the session store otherwise False
. If Key is a blocked variable and block is True
the method will return False
.
[removeCookie=False]) |
True
an HTTP header is produced to remove the cookie.
Warning:
If you set removeCookie to True
then you have to be sure you haven't already output the Content-type HTTP header or the cookie HTTP header will just be displayed as plain text.
) |
True
if the session is still valid, False
otherwise.
key) |
key) |
All session objects also have the read only member variables which you should not set:
See About this document... for information on suggesting changes.