Re: Session renewal: want a patch?

2006-12-06 Thread Ian Holsman
I like the idea. this way you can have a 'anonymous' user with the same session id for active users, and still have infrequent users removed from the session table. --Ian On 06/12/2006, at 5:15 PM, Adrian Holovaty wrote: > > On 11/8/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: >> Currently,

Re: Session renewal: want a patch?

2006-12-05 Thread Adrian Holovaty
On 11/8/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > Currently, sessions are renewed only if 1) they're modified or 2) every > request. > > There's a middle ground that's useful: renew the session and cookie if > it's within X days of the session's current expiration. This keeps > cookies for

Session renewal: want a patch?

2006-11-08 Thread Jeremy Dunck
Currently, sessions are renewed only if 1) they're modified or 2) every request. There's a middle ground that's useful: renew the session and cookie if it's within X days of the session's current expiration. This keeps cookies for unmodified sessions from expiring while not sending out a cookie