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,
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
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