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.
In reply to Re: What's the path when setting cookie via an exec cgi include?
by dws
in thread What's the path when setting cookie via an exec cgi include?
by Cody Pendant
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |