4Suite
™
API Documentation
►
Module
Ft
.
Server
.
Server
.
Http
.Session
######################################################################## # $Header: /var/local/cvsroot/4Suite/Ft/Server/Server/Http/Session.py,v 1.16 2003/10/04 03:40:52 mbrown Exp $
Classes:
CookieSession
,
Session
Functions:
Create
,
Retrieve
Fields:
g_sessionFactory
Classes
class
CookieSession
(
Session
)
Methods
__init__
(
self
)
create
(
self
,
sid
)
getSessionId
(
self
,
args
,
headers
,
logger
)
updateHeaders
(
self
,
repo
,
headers
,
logger
)
Methods inherited from class
Session
updateBody
Fields
COOKIE_HEADER
= 'Set-Cookie'
SESSION_KEY
= 'sessionId'
class
Session
Methods
__init__
(
self
)
create
(
self
,
sid
)
getSessionId
(
self
,
args
,
headers
)
updateBody
(
self
,
repo
,
body
)
updateHeaders
(
self
,
repo
,
headers
,
logger
)
Functions
Create
(
sid
,
method
,
logger
=None
)
Retrieve
(
args
,
headers
,
sessionType
,
logger
=None
)
Fields
g_sessionFactory
= {'Cookie': <class Ft.Server.Server.Http.Session.CookieSession>}