I assume by setting the "timeout" you are setting the value in
settings.yml?  This only impacts how symfony deals with the cookie
presented by the browser -- not the lifetime of the cookie.

To have the cookie preserved in the browser you need to modify the
session storage parameters in factories.yml:

http://www.symfony-project.org/book/1_0/06-Inside-the-Controller-Layer

all:
 storage:
   class: sfSessionStorage
   param:
     session_name: my_cookie_name
     session_cookie_lifetime: 1209600

jbw

On Tue, Apr 29, 2008 at 8:03 AM, DC <[EMAIL PROTECTED]> wrote:
>
>  I'm trying to keep users logged in for 2 weeks.
>
>  I've changed the timeout setting to 2 weeks (sf_timeout: 1209600), but
>  the symfony cookie expires at the end of the session.
>  Any way I can fix that?
>  >
>



-- 
Joby Walker

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to