natalieG Posted September 20, 2006 Share Posted September 20, 2006 We are usinp PHP4.+ and are having a problew with cookies. We set the cookies after successful login we set cookies as:setcookie("ORG",$REPFIRM,time()+3600*24*30);setcookie("SPV",$SUPERVISOR,time()+3600*24*30);setcookie("RPLYTO",$EMAIL,time() +3600*24*30);and the next time we use the index page, we get the cookie as follows:if (isset($_COOKIE['ORG'])){$REPFIRM=$_COOKIE['ORG'];} else {$REPFIRM='';}if(isset ($_COOKIE['SPV'])){$SPV=$_COOKIE['SPV'];} else {$SPV='';}Our cookies workes perfectly until we seletedf all cookies in IE-6 and now it looks likethe cookies do not get set and the index form does not have the fields filled in onentry. Is there enough infortmation here for you to help us, or shopuld IU sendall three pages?Natalie. Link to comment https://forums.phpfreaks.com/topic/21452-cookies/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.