in reply to Re^2: Perl and HTML
in thread Perl and HTML

SSI won't do the trick, because SSI doesn't give you the cookies information.
Hi Joost,

I've seen that statement several times now. Have you looked at $ENV{HTTP_COOKIE} in an included cgi?

Are you talking about cookies and CGI.pm? If that isn't what you mean, would you explain in a little more detail?

Replies are listed 'Best First'.
Re: [OT] SSI and cookies
by Joost (Canon) on Jul 06, 2005 at 23:45 UTC
      You can't set cookies from an SSI included script. (emphasis mine)

      Gotcha - the server will send the header based on .shtml or .html (or however SSI is configured). By the time the included file tries to set a cookie, the header is complete.

      That's what I was looking for. Thanks!