[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
Ignatiuktomek.ignat...@gmail.com 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 toreachdee...@gmail.com

 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
 tomek.ignat...@gmail.com 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 toreachdee...@gmail.com 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 maerl...@gmail.com
  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
   toreachdee...@gmail.com 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-06-01 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
tomek.ignat...@gmail.com 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 toreachdee...@gmail.com 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 maerl...@gmail.com 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 toreachdee...@gmail.com 
  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 toreachdee...@gmail.com 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 maerl...@gmail.com 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 toreachdee...@gmail.com 
  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 toreachdee...@gmail.com 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,

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 maerl...@gmail.com 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 toreachdee...@gmail.com 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
-~--~~~~--~~--~--~---