Then note what Grant Cox said. What you want is the server side
session to last for a long period, then it would seem that session
lasts until the browser is closed, but that is just because the
browser forgets the cookie.
Try using this: ini_set("session.gc_maxlifetime","14400");
and set CAKE_SESSION_SECURITY to high.
and setting the
On Mar 20, 8:55 am, "Andre" <[EMAIL PROTECTED]> wrote:
> That's right.
>
> By the way, the other framework I'm using is Code Igniter, and the
> custom PHP session library is this
> one:http://www.codeigniter.com/wiki/PHPSession/.
> The way I see it, it would be great to be able to port a Class like
> that in CakePHP. For some reasons, I don't like my session to last for
> more time than I need (oh well, one could always log out when he's
> done).
>
> On 20 Mar, 00:43, "bernardo" <[EMAIL PROTECTED]> wrote:
>
> > I think that he refers to the default php behaviour when
> > session.cookie_lifetime is set to 0, that means "until the browser is
> > closed"http://php.net/manual/en/ref.session.php
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---