Jump to content

Cookie Not Setting in IE or FF


r3kr

Recommended Posts

Hello all, I have a simple (I hope) which I am pulling hair...

 

This does not set... (IE or FF)

 

It is before and other code.

Simply takes text input in form from previous page.

 

setcookie("un", $username,time()+30*86400,"/","www.magjak.com",0);
setcookie("em", $email,time()+30*86400,"/","www.magjak.com",0);

 

This does work but only in FF:

 

setcookie("un", $username);
setcookie("em", $email);

 

Thing is I need it to work in IE7 and FF..

 

Thanks for any guess!

 

 

Link to comment
https://forums.phpfreaks.com/topic/100029-cookie-not-setting-in-ie-or-ff/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.