#2548: [patch] Add set/get_expires methods and expires propery to sessions - use
case
--------------------------+-------------------------------------------------
 Reporter:  Tsume         |        Owner:  adrian
     Type:  enhancement   |       Status:  new   
 Priority:  normal        |    Milestone:        
Component:  Contrib apps  |      Version:        
 Severity:  normal        |   Resolution:        
 Keywords:  sessions      |  
--------------------------+-------------------------------------------------
Changes (by MarcDM):

  * summary:  [patch] Add set/get_expires methods and expires propery to
              sessions => [patch] Add set/get_expires methods
              and expires propery to sessions - use case

Comment:

 I second this patch. I'm looking into using Django now to replace a custom
 (mod_python) handler and Cheetah. Please look at this use-case that I also
 posted this on the Sessions documentation page :
 
 what if SESSION_EXPIRE_AT_BROWSER_CLOSE == True but I want to have
 visitors check a box that says "Remember Me" how do I then convert their
 session to a "Long Life" session?
 
 Or vice versa, if I set it to SESSION_EXPIRE_AT_BROWSER_CLOSE == False,
 how do I make some sessions terminate when the browser closes?

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2548>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to