[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

macperl-webcgi-digest v01.n002



From: owner-macperl-webcgi-digest@macperl.org (macperl-webcgi-digest)
To: macperl-webcgi-digest@macperl.org
Subject: macperl-webcgi-digest V1 #2
Reply-To: macperl-webcsg@macperl.org
Sender: owner-macperl-webcgi-digest@macperl.org
Errors-To: owner-macperl-webcgi-digest@macperl.org
Precedence: bulk


macperl-webcgi-digest      Monday, March 1 1999      Volume 01 : Number 002




----------------------------------------------------------------------

Date: Sun, 28 Feb 1999 09:29:42 -0500
From: "Peter R. Wiley" <prdesign@sunlink.net>
Subject: [MacPerl-WebCGI] SSI and CGI

I am re-posting this question because I gather there has been some trouble
in getting people signed up for this list, so it may not have been seen by
very many people originally. Apologies to people seeing it for the second
time.

I'd like to have a CGI called from a SSI set a cookie.  I've tried to make
this work (on an Apache server) and I just can't.

I thought that all one would need to do is:

	print "Set-Cookie: cookie=whatever\n\n";

but this does nothing at all, although it works just fine in non SSI CGIs.
I've asked my ISP webmaster who has said some cryptic things about SSI
being difficult to get to work . . . so they don't "officially" support it.

Nevertheless, the script that attempts to set the cookie does execute and
does write some %ENV data to a file when called from a SSI, so I am
wondering if there is something special about getting HTTP headers to work
from a SSI called script I don't know about.  You might guess I am new to
Perl and CGI scripting.

Can anyone help?

Peter R. Wiley

PR/Design
301 South 21st Street
Lewisburg, PA 17837-1615

Phone: 570-522-0738                      Fax: 570-522-0736
	E-Mail: prdesign@sunlink.net



==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org

------------------------------

End of macperl-webcgi-digest V1 #2
**********************************


==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-webcgi-request@macperl.org