[thelist] Cookies, SSIs and Perl

martin burns martin at lists.evolt.org
Thu Sep 21 18:40:47 CDT 2000


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm working on a Perl version of Aardvaark's user-controlled
stylesheets code:
http://evolt.org/index.cfm?menu=8&cid=253

The one thing which seems to be tripping me up is setting
the cookies from within a page (ie without having to go to
a CGI URL).

Essentially the problem seems to be that in Perl, you
have to set cookies within the HTTP headers *before*
the page data commences. However, I'm calling the SSI
within the page - the 1st line of the shtml file:
view-source:http://www.easyweb.co.uk/cv/index3.htm

You can see the output at
http://www.easyweb.co.uk/cv/index3.html
(I'm parsing .html files as if they were .shtml)

The CGI works fine btw:
http://www.easyweb.co.uk/cgi-bin/font_cookie.cgi

Cheers
Martin

________________
Martin Burns, Content Management Consultant
tel: +44 (0)778 068 6418
http://evolt.org/index.cfm?menu=9&uid=32
http://www.easyweb.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
Comment: PGP Key ID: 0xA835CCCB

iQA/AwUBOcqXvnHoHnCoNczLEQKpLgCg8qeLEP19N9joK4DFiSWlKPjYcOMAnijw
yOMIyxLTU2udagIEfnmubJeZ
=P4OH
-----END PGP SIGNATURE-----





More information about the thelist mailing list