def encode(self, session_dict):
        return SessionStore().encode(session_dict)
Returns the given session dictionary serialized and encoded as a string.
dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/Django-1.6.10/django/contrib/sessions/models.py/SessionManager.encode