Paul DeJong
09-20-2000, 11:34 PM
I am having problems trying to get my perl cookies working.
I am not seeing any cookie prompt when i access my web page. Even though when i visit other sites with cookies the prompt comes up. Thats how i know its not working. Actually i also am not seeing the cookies show up in my cookie folder.
I confirmed the following
1) My browser is set to prompt
2) The cgi file on my isp is read / write
3) I have had other scripts working on this
isp.
PLEASE HELP BUSINESS DEPENDS ON THIS!!!!!
Here is the script i wrote.
#!/usr/local/bin/perl5
### Main Program
$name = "testname";
$value = "testvalue";
$expDate = "09-Nov-00 00:00:00 GMT";
print "Set-cookie: name=testname; path=/; expires=Monday, 01-Jan-2001 00:00:00 GMT\n";
print "Content-type: text/html\n\n";
print "Reload for Cookie test14:<BR>";
I am not seeing any cookie prompt when i access my web page. Even though when i visit other sites with cookies the prompt comes up. Thats how i know its not working. Actually i also am not seeing the cookies show up in my cookie folder.
I confirmed the following
1) My browser is set to prompt
2) The cgi file on my isp is read / write
3) I have had other scripts working on this
isp.
PLEASE HELP BUSINESS DEPENDS ON THIS!!!!!
Here is the script i wrote.
#!/usr/local/bin/perl5
### Main Program
$name = "testname";
$value = "testvalue";
$expDate = "09-Nov-00 00:00:00 GMT";
print "Set-cookie: name=testname; path=/; expires=Monday, 01-Jan-2001 00:00:00 GMT\n";
print "Content-type: text/html\n\n";
print "Reload for Cookie test14:<BR>";