On Wed, 9 May 2001, Brian Shoemaker wrote:

> I'm having trouble getting a script to set a cookie.
>
> It works when I type the URL of the script into the browser and press
> enter...... it works that's way and a cookie is set.
>
> But when I place that script in a HTML page like this
> <!--#exec cgi="/cgi-bin/test/cookie_get.pl"-->
> the cookie won't set.
>
> Is there something special you are supposed to do to set the cookie when
> executing the script like that?

You can't do it that way -- run the script directly and then redirect to
your HTML page.

-- Brett
                                   http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Microbiology Lab:  Staph Only!

Reply via email to