Session management handling for the client.
Never use this class directly: instead use the global SessionManager instance.
The id of the current session, or None if there is no active session.
Return type: | int or None |
---|
Activate the given session.
Parameters: | session (euphorie.client.model.SurveySession) – session to activate |
---|
The current active client session. If no session is active None is returned.
Return type: | euphorie.client.model.SurveySession or None |
---|
Create a new session and activate it.
Parameters: |
|
---|---|
Return type: | euphorie.client.model.SurveySession instance |
End the current active session.
Global instance of SessionManagerFactory.