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

2011-04-11 Thread Eden Cardim
> "Edmund" == Edmund von der Burg writes: Edmund> That is a configuration parameter and so gets set at startup and is Edmund> applied to all cookies from then on. I want to be able to change the Edmund> expiry for an particular cookie so that some sessions persist and Edmund>

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

2011-04-07 Thread Edmund von der Burg
On 6 April 2011 06:13, Sam Kaufman wrote: > http://search.cpan.org/~mstrout/Catalyst-Plugin-Session-State-Cookie-0.17/lib/Catalyst/Plugin/Session/State/Cookie.pm > "cookie_expires > > Number of seconds from now you want to elapse before cookie will > expire. Set to 0 to create a session cookie, ie

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

2011-04-05 Thread Sam Kaufman
http://search.cpan.org/~mstrout/Catalyst-Plugin-Session-State-Cookie-0.17/lib/Catalyst/Plugin/Session/State/Cookie.pm "cookie_expires Number of seconds from now you want to elapse before cookie will expire. Set to 0 to create a session cookie, ie one which will die when the user's browser is shut

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

2011-04-05 Thread Bill Moseley
On Tue, Apr 5, 2011 at 7:16 AM, Edmund von der Burg 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

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

2011-04-05 Thread Edmund von der Burg
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. Am I missing something obvious? It seems to me that the easiest way to