Hi Ali and Thomas
I tried what you guys suggested and it worked perfectly. I had this problem
for over 1 year and could never resolve it without your help; greatly
appreciated.

As you pointed out the issue was session.gc_maxlifetime and
session.save_path that needed to be changed.
I changed them directly in php.ini and the issue is resolved.

I believe symfony should do this by default and change session.save_path to
somewhere within the application folder.


cheers
-Mohammad

On Tue, May 13, 2008 at 9:26 AM, Thomas Rabaix <[EMAIL PROTECTED]>
wrote:

>
> You should read this post :
>
> http://www.centresource.com/blog/2006/05/23/php-session-lifetime-an-adventure/
>
> and then modify the foctories.yml
>  storage:
>    class: sfSessionStorage
>    param:
>      session_name: symfony
>      session_cookie_path: /mypath
>
> Thomas
>
> On Tue, May 13, 2008 at 1:30 PM, Alistair Stead
> <[EMAIL PROTECTED]> wrote:
> > The values you have described relate to cookies. These are persistent
> data
> > containers held by the client browser and are different to the session
> > values held on the server and accessible through PHP.
> >
> > The user credentials and validation are held in server session and you
> will
> > need to modify these on the server to extend them past the default 30
> minute
> > expiration.
> >
> > Ali
> >
> > 2008/5/12 Mohammad Ali Safari <[EMAIL PROTECTED]>:
> >
> >
> > > I have seen several discussions over the forums and never saw a
> complete
> > answer to it.
> > >
> > > My problem is that sessions expire within 30 minutes regardless of the
> > timeout value in my settings.yml
> > >
> > > I check the cookies and it says the session cookie is expiring in a
> month
> > (which is correct by my timeout value which is 1800000) but still it does
> > not change anything. web_deub also tell me that sf_timeout is correct.
> > >
> > > But regardless of these, users are logged out every 30 mins.
> > >
> > > cheers,
> > > --Mohammad
> > >
> > >
> > >
> >
> >
> >
> >  >
> >
>
>
>
> --
> Thomas Rabaix
>
> Internet Consultant
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
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