Cody Pendant has asked for the wisdom of the Perl Monks concerning the following question:
The script is in /cgi-bin, but I'm not running it from there.
I'm running it in the front page as an <!--#exec cgi="/cgi-bin/myscript.cgi" --> include in an shtml page.
It doesn't set the cookie when I go to the shtml page with the include in it.
If I go to the actual script directly, /cgi-bin/myscript.cgi, it does.
What's going wrong here? Is it the path setting in the cookie? I've tried no path, '/', '/cgi-bin/' but none of them seems to work.
Any help gratefully received.
--
Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.
M-J D
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What's the path when setting cookie via an exec cgi include?
by hv (Prior) on May 15, 2003 at 03:39 UTC | |
|
Re: What's the path when setting cookie via an exec cgi include?
by dws (Chancellor) on May 15, 2003 at 03:41 UTC | |
by Cody Pendant (Prior) on May 15, 2003 at 03:46 UTC | |
by true (Pilgrim) on May 15, 2003 at 06:58 UTC | |
by Tanalis (Curate) on May 15, 2003 at 08:05 UTC | |
by Cody Pendant (Prior) on May 15, 2003 at 23:32 UTC | |
by Tanalis (Curate) on May 15, 2003 at 08:10 UTC |