On Wed, Aug 4, 2010 at 11:33, jalsop
<jal...@gmail.com> wrote:
David,
Very useful and well-written package!
Thanks John!
Speaking of expiration, I notice that gae-sessions doesn't
automatically
extend the cooke expiry when a page is accessed.
I'd like to have a session that expires after say 30 minutes of
inactivity.
What's the best way to achieve this? Call regenerate_id() on every
page access?
If you want to a session to expire 30 minutes of it was last used, then yes you will need to call regenerate_id() on each page access - make sure to pass the new expiration time to the regenerate_id() method.
All the best,
~ David
Thanks,
- John Alsop