
douge
Deleted
May 25, 2000, 7:44 AM
Post #1 of 1
(1362 views)
|
IIS 4.0 Cookie read?
|
Can't Post
|
|
I am able to read a cookie when running the script below on my personal web server, but when I upload it to our IIS server, it can no longer read a set cookie but can write one. Help me, Help me. Please... ______________________________ use CGI; $co = new CGI; %greetings = $co->cookie('greetings'); if ($co->param('name')) { $greetings{'name'} = $co->param('name') } if ($co->param('birthday')) { $greetings{'birthday'} = $co->param('birthday') } if(exists($greetings{'name'})) { $url = 'http://testsite/macomprod.html'; print "Location: $url\n\n"; } else { $url = 'http://testsite/magetinfo.html'; print "Location: $url\n\n"; } ________________________ Any help would be greatly appreciated:-) Doug
|