[top] / zope / session / interfaces / ISessionDataContainer
Stores data objects for sessions.
The object implementing this interface is responsible for expiring data as it feels appropriate.
Usage:
session_data_container[client_id][product_id][key] = value
Note that this interface does not support the full mapping interface - the keys need to remain secret so we can't give access to keys(), values() etc.
resolution
*
-
Int
(default =
600)
Defines what the 'resolution' of item timeout is. Setting this higher allows the transience machinery to do fewer 'writes' at the expense of causing items to time out later than the 'Data object timeout value' by a factor of (at most) this many seconds.
timeout
*
-
Int
(default =
3600)
Number of seconds before data becomes stale and may be removed. A value of '0' means no expiration.
* = required
__delitem__(key)
Delete a value from the mapping using the key.
__setitem__(self, product_id, value)
Store an ISessionPkgData
get(key, default=None)
Get a value for a key
The default is returned if there is no value for the key.
__getitem__(self, product_id)
Return an ISessionPkgData
__contains__(key)
Tell if a key exists in the mapping.
Specific Adapters
There are no specific adapters registered for this interface.
Extended Adapters
Generic Adapters
zope.app.pagetemplate.talesapi.ZopeTalesAPI
(name: zope)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.traversing.namespace.item
(name: item)
zope.app.pagetemplate.urlquote.URLQuote
(name: url)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.traversing.namespace.etc
(name: etc)
zope.formlib.namedtemplate.NamedTemplatePathAdapter
(name: template)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.adapter
(name: adapter)
zope.app.component.back35.RegistrationManagerNamespace
(name: registrations)
zope.traversing.namespace.lang
(name: lang)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.view
(name: view)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.traversing.namespace.attr
(name: attribute)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.skin
(name: skin)
zope.traversing.namespace.etc
(name: etc)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.traversing.namespace.item
(name: item)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.app.apidoc.codemodule.browser.introspector.annotationsNamespace
(name: annotations)
zope.traversing.namespace.acquire
(name: acquire)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.debug
(name: debug)
zope.traversing.namespace.adapter
(name: adapter)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.vh
(name: vh)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.traversing.namespace.lang
(name: lang)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.app.preference.preference.preferencesNamespace
(name: preferences)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.traversing.namespace.resource
(name: resource)
zope.app.preference.default.DefaultPreferences
(name: preferences)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.apidoc.apidoc.apidocNamespace
(name: apidoc)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
zope.app.onlinehelp.helpNamespace
(name: help)
Browser
Specific views
Extended views
There are no views available.
Generic views
XML-RPC
Specific views
There are no views available.
Extended views
There are no views available.
Generic views
HTTP
Specific views
There are no views available.
Extended views
There are no views available.
Generic views
FTP
Specific views
There are no views available.
Extended views
There are no views available.
Generic views
There are no views available.
Other
Specific views
There are no views available.
Extended views
There are no views available.
Generic views
There are no views available.