wsgiservlets.Session

class wsgiservlets.Session

A Session is never directly constructed by the programmer, but is instantiated via servlet request initialization. See WSGIServlet.use_session for details.

save()

Acquire proper locks and call the backend to save the session.

revert()

Revert the session data to its originally stored data.

expire()

Expires the session.

sid

The session ID.

expires

The timestamp (seconds since the epoch) after which the session expires.

is_new

True if this is a newly created session during this request.

Previous topic

wsgiservlets.HTTPResponse

This Page