sessions.base_session.BaseSessionManager

class base_session.BaseSessionManager

New in Django 1.9.
encode(session_dict)

Returns the given session dictionary serialized and encoded as a string.

Encoding is performed by the session store class tied to a model class.

save(session_key, session_dict, expire_date)

Saves session data for a provided session key, or deletes the session in case the data is empty.

Customization of SessionStore classes is achieved by overriding methods and properties described below:

doc_Django
2016-10-09 18:39:32
Comments
Leave a Comment

Please login to continue.