开发者

PHP cookie impossible to read issue

My PHP is unable to read a cookie like 开发者_Python百科this:

1010081-COP-9-20-20110606172032

echo $_COOKIE["SubmCookie"];

It just returns empty...

How is that possible?

This is the way how I set the Cookie:

setcookie("SubmCookie",$refNumb, time()+3600*24);


Try:

setcookie("SubmCookie",$refNumb, time()+3600*24,'/');
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜