Re: [symfony-users] Re: Session timeout problem

2010-08-05 Thread Gustavo Adrian
Yes, pghoratiu, it seems that the gc_maxlifetime was the problem.


Thanks for your help!

On Thu, Aug 5, 2010 at 12:37 AM, pghoratiu  wrote:

> Check out also the session variables that can be set up in
> session.ini:
> session.gc_maxlifetime
> Depending on the OS you use there may be other things to consider as
> well.
>
>gabriel
>
>
> On Aug 5, 4:31 am, Gustavo Adrian  wrote:
> > Hi,
> >
> > I'm using sfDoctrineGuardPlugin. My backend session always ends after 5
> or
> > 10 minutes if its idle. I've tried to change on factories.yml:
> >
> >   *user:*
> > *class: myUser*
> > *param:*
> > *  timeout: 86400*
> >
> > And..
> >
> >  * storage:*
> > *param:*
> > *  session_cookie_lifetime:  86400*
> >
> > But nothing happens. My session always ends after 5 or 10 minutes. Is
> > anything I'm forgetting about session stuff?
> >
> > Thanks!
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> 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
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: Session timeout problem

2010-08-04 Thread pghoratiu
Check out also the session variables that can be set up in
session.ini:
session.gc_maxlifetime
Depending on the OS you use there may be other things to consider as
well.

gabriel


On Aug 5, 4:31 am, Gustavo Adrian  wrote:
> Hi,
>
> I'm using sfDoctrineGuardPlugin. My backend session always ends after 5 or
> 10 minutes if its idle. I've tried to change on factories.yml:
>
>   *user:*
> *    class: myUser*
> *    param:*
> *      timeout: 86400*
>
> And..
>
>  * storage:*
> *    param:*
> *      session_cookie_lifetime:          86400*
>
> But nothing happens. My session always ends after 5 or 10 minutes. Is
> anything I'm forgetting about session stuff?
>
> Thanks!

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en


[symfony-users] Re: Session Timeout

2010-03-19 Thread DEEPAK BHATIA
Any suggestions, ideas..

On Thu, Mar 18, 2010 at 7:27 PM, DEEPAK BHATIA wrote:

> Hi,
>
> How do we check whether session handling between client and server is
> correct as per factories.yml setting ?
>
> Can we debug exactly when the session get expired ?
>
> Thanks in advance :-)
>
> Regards
>
> Deepak Bhatia
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

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
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


[symfony-users] Re: Session Timeout Issue

2009-06-08 Thread DEEPAK BHATIA

Hi,

What is the maximum value of timeout ?

Also in case we want to give infinite timeout, what should we do then ?

Thanks

Deepak Bhatia

On Mon, Jun 1, 2009 at 12:35 PM, Tomasz
Ignatiuk wrote:
> Everything seems to be fine. Maybe try to set this:
>
>
>   storage:
>     class: sfSessionStorage
>     param:
>   session_name: symfony
>
> But give for a session a different name for each application, so that the
> logged in parameter or other will be different.
>
> 2009/6/1 DEEPAK BHATIA 
>>
>> Hi,
>>
>> Thanks for the response.
>>
>> I am attaching the factories.yml file used by me.
>>
>> Please let me know if there is any issue regarding session timeout.
>>
>> Regards
>>
>> Deepak Bhatia
>>
>> On Sun, May 31, 2009 at 6:38 PM, Tomasz Ignatiuk
>>  wrote:
>> >
>> > You don;t need sfGuardPlugin. Are you sure you've uncommented all
>> > lines in factories.yml with these settings? IF yes, cc, the restart
>> > your browser. It should work
>> >
>> > On 29 Maj, 09:25, DEEPAK BHATIA  wrote:
>> >> Hi,
>> >>
>> >> We have the following in the factories.yml file
>> >>
>> >> all:
>> >>   user:
>> >>     class: myUser
>> >>     param:
>> >>       timeout:          32400
>> >>
>> >> Is it not sufficient to handled the session timeout ?
>> >>
>> >> Do we need to use sfGaurdPlugin ?
>> >>
>> >> Regards
>> >>
>> >> Deepak Bhatia
>> >>
>> >> On Fri, May 29, 2009 at 12:44 PM, Gábor Fási 
>> >> wrote:
>> >>
>> >> > Instead of changing the session cookie's lifetime, you should check
>> >> > uot sfGuardPlugin's remember me feature.
>> >>
>> >> > On Fri, May 29, 2009 at 08:59, DEEPAK BHATIA
>> >> >  wrote:
>> >>
>> >> >> Hi,
>> >>
>> >> >> We have set the session time out to 32400 seconds but for some users
>> >> >> the timeout occurs after standard 30 seconds.
>> >>
>> >> >> Kindly let me know the issue.
>> >>
>> >> >> Regards
>> >>
>> >> >> Deepak Bhatia
>> >>
>> >>
>> > >> >
>> >
>
>

--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout Issue

2009-05-31 Thread DEEPAK BHATIA
Hi,

Thanks for the response.

I am attaching the factories.yml file used by me.

Please let me know if there is any issue regarding session timeout.

Regards

Deepak Bhatia

On Sun, May 31, 2009 at 6:38 PM, Tomasz Ignatiuk
 wrote:
>
> You don;t need sfGuardPlugin. Are you sure you've uncommented all
> lines in factories.yml with these settings? IF yes, cc, the restart
> your browser. It should work
>
> On 29 Maj, 09:25, DEEPAK BHATIA  wrote:
>> Hi,
>>
>> We have the following in the factories.yml file
>>
>> all:
>>   user:
>>     class: myUser
>>     param:
>>       timeout:          32400
>>
>> Is it not sufficient to handled the session timeout ?
>>
>> Do we need to use sfGaurdPlugin ?
>>
>> Regards
>>
>> Deepak Bhatia
>>
>> On Fri, May 29, 2009 at 12:44 PM, Gábor Fási  wrote:
>>
>> > Instead of changing the session cookie's lifetime, you should check
>> > uot sfGuardPlugin's remember me feature.
>>
>> > On Fri, May 29, 2009 at 08:59, DEEPAK BHATIA  
>> > wrote:
>>
>> >> Hi,
>>
>> >> We have set the session time out to 32400 seconds but for some users
>> >> the timeout occurs after standard 30 seconds.
>>
>> >> Kindly let me know the issue.
>>
>> >> Regards
>>
>> >> Deepak Bhatia
>>
>>
> >
>

--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



factories.yml
Description: Binary data


[symfony-users] Re: Session Timeout Issue

2009-05-31 Thread Tomasz Ignatiuk

You don;t need sfGuardPlugin. Are you sure you've uncommented all
lines in factories.yml with these settings? IF yes, cc, the restart
your browser. It should work

On 29 Maj, 09:25, DEEPAK BHATIA  wrote:
> Hi,
>
> We have the following in the factories.yml file
>
> all:
>   user:
>     class: myUser
>     param:
>       timeout:          32400
>
> Is it not sufficient to handled the session timeout ?
>
> Do we need to use sfGaurdPlugin ?
>
> Regards
>
> Deepak Bhatia
>
> On Fri, May 29, 2009 at 12:44 PM, Gábor Fási  wrote:
>
> > Instead of changing the session cookie's lifetime, you should check
> > uot sfGuardPlugin's remember me feature.
>
> > On Fri, May 29, 2009 at 08:59, DEEPAK BHATIA  
> > wrote:
>
> >> Hi,
>
> >> We have set the session time out to 32400 seconds but for some users
> >> the timeout occurs after standard 30 seconds.
>
> >> Kindly let me know the issue.
>
> >> Regards
>
> >> Deepak Bhatia
>
>
--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout Issue

2009-05-29 Thread DEEPAK BHATIA

Hi Gábor,

I have installed the sfGaurdPlugin. Do I just need to do #php symfony
cc as I am not going for security features.

Just changing the two files is sufficient for the changes given below
1. filters.yml
2. app.yml

===
I have two points for the "Remember Me" Feature

Point 1
=
* Optionally enable the "Remember Me" filter in `filters.yml`

[yml]
security:
  class: sfGuardBasicSecurityFilter

Point 2
==
Change the name or expiration period of the "Remember Me" cookie


By default, the "Remember Me" feature creates a cookie named `sfRemember`
that will last 15 days.  You can change this behavior in `app.yml`:

[yml]
all:
  sf_guard_plugin:
 remember_key_expiration_age:  2592000   # 30 days in seconds
 remember_cookie_name: myAppRememberMe

--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout Issue

2009-05-29 Thread DEEPAK BHATIA

Hi,

We have the following in the factories.yml file

all:
  user:
class: myUser
param:
  timeout:  32400


Is it not sufficient to handled the session timeout ?

Do we need to use sfGaurdPlugin ?

Regards

Deepak Bhatia

On Fri, May 29, 2009 at 12:44 PM, Gábor Fási  wrote:
>
> Instead of changing the session cookie's lifetime, you should check
> uot sfGuardPlugin's remember me feature.
>
> On Fri, May 29, 2009 at 08:59, DEEPAK BHATIA  wrote:
>>
>> Hi,
>>
>> We have set the session time out to 32400 seconds but for some users
>> the timeout occurs after standard 30 seconds.
>>
>> Kindly let me know the issue.
>>
>> Regards
>>
>> Deepak Bhatia
>>
>> >
>>
>
> >
>

--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout Issue

2009-05-29 Thread Gábor Fási

Instead of changing the session cookie's lifetime, you should check
uot sfGuardPlugin's remember me feature.

On Fri, May 29, 2009 at 08:59, DEEPAK BHATIA  wrote:
>
> Hi,
>
> We have set the session time out to 32400 seconds but for some users
> the timeout occurs after standard 30 seconds.
>
> Kindly let me know the issue.
>
> Regards
>
> Deepak Bhatia
>
> >
>

--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout

2009-02-23 Thread DeepakBhatia

Hi Sven,

Thanks for the help, it is working now.

Regards

Deepak Bhatia

On Feb 23, 5:21 pm, cokker  wrote:
> have you uncommented the "all" above the mentioned section?
>
> greets
> Sven
>
> DeepakBhatia schrieb:
>
>
>
> > Hi,
>
> > I have changed the session time out to 32400 in the factories.yml file
> > in
>
> > apps/front/config/factories.yml
>
> > But still session timeout is happening after the default 30 Minutes
> > (1800 Sec).
>
> > ==
> >   user:
> >     class: myUser
> >     param:
> >       timeout:          32400
> > ==
>
> > Kindly help me in resolving this.
>
> > Thanks
>
> > Deepak Bhatia- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout

2009-02-23 Thread DeepakBhatia

Hi Sven,

Thanks for the help, yes I was missing the "all:"

Regards

Deepak Bhatia

On Feb 23, 5:21 pm, cokker  wrote:
> have you uncommented the "all" above the mentioned section?
>
> greets
> Sven
>
> DeepakBhatia schrieb:
>
>
>
> > Hi,
>
> > I have changed the session time out to 32400 in the factories.yml file
> > in
>
> > apps/front/config/factories.yml
>
> > But still session timeout is happening after the default 30 Minutes
> > (1800 Sec).
>
> > ==
> >   user:
> >     class: myUser
> >     param:
> >       timeout:          32400
> > ==
>
> > Kindly help me in resolving this.
>
> > Thanks
>
> > Deepak Bhatia- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout

2009-02-23 Thread cokker

have you uncommented the "all" above the mentioned section?

greets
Sven

DeepakBhatia schrieb:
> Hi,
> 
> I have changed the session time out to 32400 in the factories.yml file
> in
> 
> apps/front/config/factories.yml
> 
> But still session timeout is happening after the default 30 Minutes
> (1800 Sec).
> 
> ==
>   user:
> class: myUser
> param:
>   timeout:  32400
> ==
> 
> Kindly help me in resolving this.
> 
> Thanks
> 
> Deepak Bhatia
> 
> > 


--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout

2009-02-23 Thread Lee Bolding

But does Symfony use ini_set() ? you'll have to dig around the session handling 
classes to check.

Obviously, that doesn't work with safe mode either ;)

- Original Message -
From: "shahin" 
To: "symfony users" 
Sent: Monday, February 23, 2009 11:01:35 AM GMT +00:00 GMT Britain, Ireland, 
Portugal
Subject: [symfony-users] Re: Session Timeout


i don`t think so Lee
symfony can change session time at run time by this PHP function
"ini_set()"
this can has priority over php.ini


--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout

2009-02-23 Thread shahin

i don`t think so Lee
symfony can change session time at run time by this PHP function
"ini_set()"
this can has priority over php.ini
--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout

2009-02-23 Thread Lee Bolding

I haven't really looked at this properly, but it sounds like the timeout is 
still set to 30 minutes in your php.ini

AFAIK, Symfony can't override this setting - but if the Symfony setting is 
LOWER than that specified in php.ini, then it will expire the session according 
to the Symfony setting. If the Symfony setting is HIGHER than that specified in 
php.ini, then php.ini wins.

- Original Message -
From: "DeepakBhatia" 
To: "symfony users" 
Sent: Monday, February 23, 2009 9:21:19 AM GMT +00:00 GMT Britain, Ireland, 
Portugal
Subject: [symfony-users] Re: Session Timeout


Hi James,

I checked the file "tool/prod/config/config_factories.yml.php".

The value is set to 1800 in this file.

Please let me know if I am wrong somewhere.

Regards

Deepak Bhatia

On Feb 23, 12:41 pm, James  wrote:
> did you clear the cache?
>
> James
>
> On Feb 23, 2009, at 2:34 AM, DeepakBhatia wrote:
>
>
>
>
>
> > Hi,
>
> > I have changed the session time out to 32400 in the factories.yml file
> > in
>
> > apps/front/config/factories.yml
>
> > But still session timeout is happening after the default 30 Minutes
> > (1800 Sec).
>
> > ==
> >  user:
> >    class: myUser
> >    param:
> >      timeout:          32400
> > ==
>
> > Kindly help me in resolving this.
>
> > Thanks
>
> > Deepak Bhatia- Hide quoted text -
>
> - Show quoted text -


--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout

2009-02-23 Thread DeepakBhatia

Hi James,

I checked the file "tool/prod/config/config_factories.yml.php".

The value is set to 1800 in this file.

Please let me know if I am wrong somewhere.

Regards

Deepak Bhatia

On Feb 23, 12:41 pm, James  wrote:
> did you clear the cache?
>
> James
>
> On Feb 23, 2009, at 2:34 AM, DeepakBhatia wrote:
>
>
>
>
>
> > Hi,
>
> > I have changed the session time out to 32400 in the factories.yml file
> > in
>
> > apps/front/config/factories.yml
>
> > But still session timeout is happening after the default 30 Minutes
> > (1800 Sec).
>
> > ==
> >  user:
> >    class: myUser
> >    param:
> >      timeout:          32400
> > ==
>
> > Kindly help me in resolving this.
>
> > Thanks
>
> > Deepak Bhatia- Hide quoted text -
>
> - Show quoted text -
--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---



[symfony-users] Re: Session Timeout

2009-02-22 Thread James

did you clear the cache?

James


On Feb 23, 2009, at 2:34 AM, DeepakBhatia wrote:

>
> Hi,
>
> I have changed the session time out to 32400 in the factories.yml file
> in
>
> apps/front/config/factories.yml
>
> But still session timeout is happening after the default 30 Minutes
> (1800 Sec).
>
> ==
>  user:
>class: myUser
>param:
>  timeout:  32400
> ==
>
> Kindly help me in resolving this.
>
> Thanks
>
> Deepak Bhatia
>
> >


--~--~-~--~~~---~--~~
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 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~--~~~~--~~--~--~---