What hellfish wanted to say: YOU CAN'T.
Closing the browser doesn't affect PHP so the only way to do this is
IN the browser.

But why so complicated. Just use a session. A session usually stores
user information in a text file on the server. To recognize a user,
the browser will store a session cookie in the users browser. Closing
the session will delete the cookie after the expire timevalue. Or you
can simply use the generic PHP function set_cookie (http://www.php.net/
manual/de/function.setcookie.php) if a expire of 0 which is default.
In this case closing the browser will delete the cookie.

On Sep 9, 11:45 am, arif hossen <[email protected]> wrote:
> Dear all ,
>
> Please help me.
> How to use CAKEPHP to delete cookies when browser is close.
>
> --
> Regards,
> Mohammad Arif Hossen
> Software Enginner
> Epsilon Consulting and Development Services(ECDS)www.ecds-tech.com
> +88 01714355911
--~--~---------~--~----~------------~-------~--~----~
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