OPSI.Service.Session module¶
Handling of sessions.
Sessions are managed by a SessionHandler. It tracks all the present sessions. Sessions do timeout after a specified time.
| copyright: | uib GmbH <info@uib.de> |
|---|---|
| author: | Jan Schneider <j.schneider@uib.de> |
| author: | Niko Wenselowski <n.wenselowski@uib.de> |
| license: | GNU Affero General Public License version 3 |
-
class
OPSI.Service.Session.Session(sessionHandler, name=u'OPSISID', sessionMaxInactiveInterval=120)¶ Bases:
object-
decreaseUsageCount()¶
-
delete()¶
-
expire()¶
-
getMarkedForDeletion()¶
-
getValidity()¶
-
increaseUsageCount()¶
-
setMarkedForDeletion()¶
-
touch()¶
-
-
class
OPSI.Service.Session.SessionHandler(sessionName=u'OPSISID', sessionMaxInactiveInterval=120, maxSessionsPerIp=0, sessionDeletionTimeout=60)¶ Bases:
object-
cleanup()¶
-
createSession()¶
-
deleteAllSessions()¶
-
deleteSession(uid)¶
-
getSession(uid=None, ip=None)¶
-
getSessions(ip=None)¶
-
sessionExpired(session)¶
-