[Catalyst] Implementing a 'remember me on this computer' button

Bill Moseley moseley at hank.org
Tue Apr 5 14:49:31 GMT 2011


On Tue, Apr 5, 2011 at 7:16 AM, Edmund von der Burg
<evdb at ecclestoad.co.uk>wrote:

> I want my sessions either to be long-lived (several months) or, at the
> user's discretion, only last for the current browser session.
> Achieving either of these is quite easy, but doing both in one app
> appears a little trickier.
>

I have used a separate remember me cookie that effectively will auto-login
the user.  That's very simple to implement.  It doesn't save any session
state that way, but avoiding the login is often what users are after rather
than remembering the exact state of the session.  Not sure how useful that
would be for someone returning days later.



-- =

Bill Moseley
moseley at hank.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20110405/d1dd6=
f28/attachment.htm


More information about the Catalyst mailing list