Back to index

moin  1.9.0~rc2
Public Member Functions
MoinMoin.web.session.SessionService Class Reference
Inheritance diagram for MoinMoin.web.session.SessionService:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def get_session
def destroy_session
def finalize

Detailed Description

A session service returns a session object given a request object and
provides services like persisting sessions and cleaning up occasionally.

Definition at line 27 of file session.py.


Member Function Documentation

def MoinMoin.web.session.SessionService.destroy_session (   self,
  request,
  session 
)
Destroy an existing session (make it unusable). 

Reimplemented in MoinMoin.web.session.FileSessionService.

Definition at line 36 of file session.py.

00036 
00037     def destroy_session(self, request, session):
00038         """ Destroy an existing session (make it unusable). """
00039         raise NotImplementedError

Here is the caller graph for this function:

def MoinMoin.web.session.SessionService.finalize (   self,
  request,
  session 
)
If the service needs to do anything to the session and/or request,
before it is sent back to the client, he can chose to do so here.
Typical examples would be setting cookies for the client.

Reimplemented in MoinMoin.web.session.FileSessionService.

Definition at line 40 of file session.py.

00040 
00041     def finalize(self, request, session):
00042         """
00043         If the service needs to do anything to the session and/or request,
00044         before it is sent back to the client, he can chose to do so here.
00045         Typical examples would be setting cookies for the client.
00046         """
00047         raise NotImplementedError

def MoinMoin.web.session.SessionService.get_session (   self,
  request,
  sid = None 
)
Return a session object pertaining to the particular request.

Reimplemented in MoinMoin.web.session.FileSessionService.

Definition at line 32 of file session.py.

00032 
00033     def get_session(self, request, sid=None):
00034         """ Return a session object pertaining to the particular request."""
00035         raise NotImplementedError


The documentation for this class was generated from the following file: