Session does not expire after closing Browser

2008-07-04 Thread [EMAIL PROTECTED]

Session does not expire after closing Browser.
I know this issue has been post here, Solution (Security.level =
'high'), but It doesn't work fine with applications using AJAX. How
can I solve this problem???
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Session does not expire after closing Browser

2008-07-04 Thread Chris Hartjes

On Fri, Jul 4, 2008 at 6:55 PM, [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:

 Session does not expire after closing Browser.

http://www.php.net/manual/en/ref.session.php

session.cookie_lifetime specifies the lifetime of the cookie in
seconds which is sent to the browser. The value 0 means until the
browser is closed. Defaults to 0. See also
session_get_cookie_params() and session_set_cookie_params(). Since the
cookie is returned by the browser, it is not prolonged to suffice the
lifetime. It must be sent manually by setcookie().

This is sometimes an issue due to PHP configuration settings.  Not a
CakePHP issue at all.

Hope that helps.

-- 
Chris Hartjes
Internet Loudmouth
Motto for 2008: Moving from herding elephants to handling snakes...
@TheKeyBoard: http://www.littlehart.net/atthekeyboard

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---