Here's the deal: I swear this code worked to set a Cookie on IE 4.0 for
weeks. Now when I went back to the site, it isn't setting the cookie. I
isolated the script into its own file with nothing else before or after and
am still having no luck.
<?
if (! $ArtPrintSession && $CheckingOut != "1")
{
$temp1=date("U");
$temp2=getmypid();
$SessionID="s".strval($temp1).strval($temp2).strval(Rand()%1000);
SetCookie("ArtPrintSession",$SessionID,time()+60*60*24,"/");
}
print "$SessionID";
?>
Here's what I've tried:
* Clearing the cache and erasing all other cookies.
* Setting the Cookie rules to "Prompt" and then "Accept All"
* Uploading this program to another website of mine which does successfully
send cookies to IE 4.0. However, this script doesn't work.
* Uplading the script to the server in both ASCII mode and BINARY mode.
* Closing and restarting IE. Shutting down and rebooting the PC.
* This script DOES work with NETSCAPE.
Even when sent to "Prompt before accepting cookies", I don't get a reaction
on IE. This same copy of IE is accepting cookies form other sites.
I know it's going throught the IF statement because a $SessionID is
generated and printed out.
Is there a bug in the script, or is this an IE problem?
Thanks,
Jeff Gannaway
___________________________________________________________
Find the right art print for your home.
* Search by artist, color, art style and subject.
* Preview the art prints against your wall color.
* Specializing in contemporary, abstract and African
� American art.
* Every day discounts on thousands of fine art prints.
PopStreet.com is your avenue to art.
http://www.popstreet.com
___________________________________________________________
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]