twisted.web.server.Request.getSession(self, sessionInterface=None)
method documentationtwisted.web.server.Request
View Source
Look up the session associated with this request or create a new one if there is not one.
Returns | The Session
instance identified by the session cookie in the request, or the
sessionInterface component of that session if
sessionInterface is specified. |