in reply to Setting cookie via included CGI?
To set a cookie, the script needs to output it in the header of the responce, before any text is sent. So unless your SSI can be told not to output anything at all until the CGI is finished, I don't see how you could set it from a pure perl solution.
Of course, you should be able to have your CGI output a bit of javascript, that will set the cookie for you.
-- zigdon
|
|---|