Home | History | Annotate | Download | only in paste

Lines Matching full:session

5 Creates a session object in your WSGI environment.
11 environ['paste.session.factory']()
14 be saved to disk when the request is completed. The session will be
15 created when you first fetch the session dictionary, and a cookie will
17 cookies, and there's no way to delete a session except to clear its
21 session is accessed concurrently. Also, it loads and saves the
22 session for each request, with no caching. Also, sessions aren't
59 environ['paste.session.factory'] = session_factory
72 # Tricky bastard used the session after start_response
76 "You cannot get the session after content from the "
97 self.session = None
105 if self.session is not None:
106 return self.session.data()
108 session = None
112 session = self.session_class(self.sid, create=False,
117 if session is None:
120 session = self.session_class(self.sid, create=True,
122 session.clean_up()
123 self.session = session
124 return session.data()
127 if self.session is not None:
177 if self.session is not None:
178 self.session.close()
241 #Open every session and check that it isn't too old
262 # Probably not a session file at all
303 The session is a peristent dictionary. To get this dictionary
304 in your application, use ``environ['paste.session.factory']()``
310 The time each session lives, in minutes. This controls
314 The time each session lives on disk. Old sessions are
318 The cookie name used to track the session. Use different
319 names to avoid session clashes.