Welcome Guest, Not a member yet? Register   Sign In
How to remove a cookie?

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?


scroll down to $this->input->set_cookie()

and you'll see this
Quote:To delete a cookie set it with the expiration blank.

hey I tried this code but it did not work. Is there any other method to delete cookie?

have your tried using the delete_cookie() function in the cookie helper?

Subtract the time from the time you set!


Theme © iAndrew 2016 - Forum software by © MyBB