Jump to content

COOKIES


natalieG

Recommended Posts

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 like
the cookies do not get set and the index form does not have the fields filled in on
entry. Is there enough infortmation here for you to help us, or shopuld IU send
all  three pages?

Natalie. 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.