David,
Very useful and well-written package!
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?
Thanks,
- John Alsop
> It turns out that Internet Explorer was deleting the gae-sessions when the
> browser was closed because it (apparently) only supports timestamps
> specified in GMT. gae-sessions v1.02 and earlier, however, specified cookie
> timestamps in PST. This caused IE to ignore the specified expiration time,
> and make the cookies only last until the browser was closed.
>
> I've released gae-sessions v1.03 to fix this IE compatibility issue. Thanks
> a ton for reporting the problem!
>
> All the best,
>
> ~ David
>
> On Thu, Jul 22, 2010 at 23:34, Chris Lacy <
gdaych...@gmail.com> wrote:
> > Hi David,
>
> > Yes, the behaviour you've described below exactly matches our reproducable
> > case for the bug.
>
> > It's strange. But as I'm sure you're aware, such is life with IE
> > unfortunately :(
>
> > Many thanks for taking the time to look at this for us :)
>
> > Chris
>
> > On Fri, Jul 23, 2010 at 12:54 PM, David Underhill <
d...@cs.stanford.edu>wrote:
>
> >> Hi Chris,
>
> >> I've been able to reproduce the problem using IE8 and the simple demo app
> >> included with gae-sessions. IE8 works fine as long as I don't close the
> >> browser - I can navigate to another page and come back. But when I close
> >> the browser and then start it again, it doesn't send the cookies to server
> >> anymore. This is strange because it sends the cookies just fine for as long
> >> as I keep the browser open.
>
> >> Anyway, it seems like IE8 is discarding the cookies once the browser is
> >> closed. I don't see any cookie files saved on my computer. I'm not sure
> >> why this is happening yet, but I'm going to figure it out ASAP.
>
> >> All the best,
>
> >> ~ David
>