in reply to What's the path when setting cookie via an exec cgi include?
To set a cookie, you need to emit a Set-Cookie: as part of your response header. If you embed an <!--#exec... directive in a page such that any HTML gets into the output stream before the tag, whatever the executed script does happens too late.
You might be able to get this to work by doing the <!--#exec as the very first thing in the .shtml, but I've never tried that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: What's the path when setting cookie via an exec cgi include?
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 |