Menu
Hi,
I run into a problem which didn’t occur to me until now. I have been using cookies and session global variables before and they always worked but right now on my login page, right after the user is validated, the cookie I set is displayed with the correct value while after I redirect the user to another page, the cookie value becomes null for some reason. The same thing happens with the session variables… Here’s the line of code for setting the cookie:
setcookie(“email”,$email, time()+3600);
Do you have any idea why this happens?