[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Cookie problem



Hi all,

I tried setting a cookie using the set_cookie function of cookie-lib as follows:

$cookie{userid} = $userid;
&set_cookie(undef,"$host", "/", 0);

For some reason it refuses to work. But delete_cookie function works fine on IE.

So i used

$userid = shift;
$Cookie_Exp_date="";
print "Set-Cookie: userid=$userid\; expires=$Cookie_Exp_Date\n";

This works fine on Internet explorer but no cookie is getting set in netscape.


What do i do?

Thanks in advance.

Adityan
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.