C
Chris Haupt
We have a script using the CGI module which sets a cookie and then
performs a redirect:
print $q->redirect($url, -cookie=>$cookie) ;
In version 2.81 of CGI this works fine. When we upgraded to 3.05
recently this stopped working. In Explorer when I run this script I
get the following error:
Internet Explorer doesn't know how to handle the type of file you have
selected
You can choose to save this file to your disk or you can configure a
Helper Application for this file.
MIME TYPE: application/x-httpd-cgi
File Name: goto.cgi
Using the cookie in the header function (e.g. print $q->header(
-cookie=>$cookie)) works fine in 3.05 so the problem appears to be
with the use of cookies in the redirect method.
We've backed up to version 2.81 but I'd like to get back to 3.05 if
this problem can be resolved.
Thanks,
Chris
performs a redirect:
print $q->redirect($url, -cookie=>$cookie) ;
In version 2.81 of CGI this works fine. When we upgraded to 3.05
recently this stopped working. In Explorer when I run this script I
get the following error:
Internet Explorer doesn't know how to handle the type of file you have
selected
You can choose to save this file to your disk or you can configure a
Helper Application for this file.
MIME TYPE: application/x-httpd-cgi
File Name: goto.cgi
Using the cookie in the header function (e.g. print $q->header(
-cookie=>$cookie)) works fine in 3.05 so the problem appears to be
with the use of cookies in the redirect method.
We've backed up to version 2.81 but I'd like to get back to 3.05 if
this problem can be resolved.
Thanks,
Chris