~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/dispatch/request.py

  • Committer: William Grant
  • Date: 2009-03-26 05:33:03 UTC
  • mto: (1165.3.1 submissions)
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090326053303-t1wsjswhk2sl2gml
Start a submission UI in ivle.webapp.submit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
295
295
    def get_session(self):
296
296
        """Returns a mod_python Session object for this request.
297
297
        Note that this is dependent on mod_python and may need to change
298
 
        interface if porting away from mod_python."""
 
298
        interface if porting away from mod_python.
 
299
 
 
300
        IMPORTANT: Call unlock() on the session as soon as you are done with
 
301
                   it! If you don't, all other requests will block!
 
302
        """
299
303
        # Cache the session object and set the timeout to 24 hours.
300
304
        if not hasattr(self, 'session'):
301
305
            self.session = mod_python.Session.FileSession(self.apache_req,