Hi,
I'm having trouble reading my cookies. Here's what i use to set cookies.
and here's what i use to read it on another page on the same domainCode:setcookie("usercookie", $useridi, time()+3600);
But the echo does not work from another page. Surprisingly if i echo the cookie on the same page it works fine, its only if i try and read the cookie on a separate page that it echo's a blank. Please help me out.Code:echo $_COOKIE["usercookie"];


Reply With Quote


Bookmarks