set_cookie not working |
[eluser]ibnclaudius[/eluser]
So how can I get the serialized(email,token) data from "value"?
[eluser]ibnclaudius[/eluser]
http://php.net/manual/en/function.setcookie.php Quote:Cookies names can be set as array names and will be available to your PHP scripts as arrays but separate cookies are stored on the user's system. Consider explode() to set one cookie with multiple names and values. It is not recommended to use serialize() for this purpose, because it can result in security holes. How can I set 'email' and 'token' inside the cookie and then retrieve?
|
Welcome Guest, Not a member yet? Register Sign In |