hello all,

thanks for the great help so far.  my first pylons project is going
really well.

i'm looking for a way to make the session/session cookie expire after
a certain amount of time.  an example of this behavior would be eBay,
which expires a cookie session after 24 hours.

i was looking at this 
http://wiki.pylonshq.com/display/beaker/Configuration+Options

beaker.session.cookie_expires is probably what i want, but i am not
sure how to set the time period in my .ini file.  i see that it's
supposed to take a timedelta object, but i can't instantiate one
within the context of a config file (can i?).  other docs i've seen
only describe the session.cookie_expires option as only taking a
boolean value.

there's also beaker.session.timeout but that depends on the session
being idle.

am i missing something totally obvious?

a follow-up to this question is, what's the proper way to implement
the user's "remember me" preference checkbox.  these are global
settings for the server, i have poked around looking for the answer on
the user's ability to set session.cookie_expires to True (session goes
away on the closing of the browser), but my keywordese isn't good
enough.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to