[Catalyst] Announcement - New session plugins
Yuval Kogman
nothingmuch at woobling.org
Wed Nov 9 01:55:32 CET 2005
On Tue, Nov 08, 2005 at 10:00:59 -0500, John Lifsey - Contractor - wrote:
> What I tend to do is set two session variables one for creation one for last hit and timeouts for
> each of them. Then upon every request kill the sessions that are out of time. Of course this is
> with my own sloppy non-catalyst code that has access to a DB for storage, so its probably moot.
The problem is that for big sites we can't provide a plugin that is
O(N) or even O(k) where k is the number of expired sessions.
This needs to happen in a cron job for it to be usable by everyone,
and we're thinking in that direction too.
As for creation/last hit - we have that already... __expires is when
the session should be deleted. __created is when it was created.
__updated is the last time it was written to the storage.
--
() Yuval Kogman <nothingmuch at woobling.org> 0xEBD27418 perl hacker &
/\ kung foo master: /me does not drink tibetian laxative tea: neeyah!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20051109/97281aaa/attachment.pgp
More information about the Catalyst
mailing list