How to remove a cookie? |
[eluser]ShoeLace1291[/eluser]
I've read the section on the input class in the user guide. Maybe I'm just missing it. How do I remove cookie data?
[eluser]eoinmcg[/eluser]
http://ellislab.com/codeigniter/user-gui...input.html scroll down to $this->input->set_cookie() and you'll see this Quote:To delete a cookie set it with the expiration blank.
[eluser]DuncanCox[/eluser]
hey I tried this code but it did not work. Is there any other method to delete cookie?
[eluser]eoinmcg[/eluser]
have your tried using the delete_cookie() function in the cookie helper?
|
Welcome Guest, Not a member yet? Register Sign In |