Hi,

If you want custom session settings then change configuration to something
like

Configure::write('Session.save', 'my_session');

and after that create app/config/my_session.php where you can define your
own session settings, something like

ini_set('session.use_trans_sid', 0);
ini_set('session.name', Configure::read('Session.cookie'));
ini_set('session.cookie_lifetime', 0);
ini_set('session.cookie_path', $this->path);

Hope this helps.

Amit Badkas

PHP Applications for E-Biz: http://www.sanisoft.com



On Tue, Nov 16, 2010 at 12:41 AM, thomaus <[email protected]> wrote:

> Hi,
>
> My question is simple. Is it possible to have these 3 things set-up
> for my project:
>
> 1) Security level to "medium" (and not "high")
>
> 2) A given time-out of 90 seconds
>
> 3) An automatic log-out after browser closing
>
> ???
>
> From what I understood, if I want 3, then I need to set the Security
> level to "high", which I don't want.
>
> Now, I can set manually 3 by writing
> "ini_set('session.cookie_lifetime', 0);" in a session config file, but
> then how can I set a number of seconds for the session time-out???
>
> So it seems like my request is impossible. Is it? That would be
> completely incredible!
>
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<cake-php%[email protected]>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en

Reply via email to