On 18 июн, 21:08, Grant Cox <[EMAIL PROTECTED]> wrote:
> > How to make session expire after browser close? It's a default PHP
> > session behaviour,
>
> Really?  In my experience closing the browser causes the browser to
> forget your session cookie (as that's what it is meant to do), but the
> server is not informed of this and keeps the session active for the


Yes I know.


> normal amount of time.  I have not seen any change in this behaviour
> with CakePHP.
>
> How are you finding that Cake is not expiring the session, where a
> "normal" PHP script does?  Are you looking at the server side session
> files?  Can you post a sample PHP script that automatically destroys
> this session with just a browser close?

Well, it's true but.. seems strange that it's holding session longer.
Have you ever logged such way to any site when you close the browser
then go to site again and see that session expired? Of course you
have. That's what I'm talking about.

Thank you.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to