I was so stupid..... Of course there's nothing to see if I don't set a
cookie.

Thanks anyway and have a nice day!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Eli Jehoel
Sent: maandag 20 oktober 2003 11:47
To: [EMAIL PROTECTED]
Subject: no http_cookie


I'm having trouble with $ENV{"HTTP_COOKIE"}. It just doesn't show up in
the %ENV hash. Does this have to do with the fact that I'm running the
thing over https? Does this have anything to do with the communication
between perl and apache?


Thanks in advance!

Contents of %ENV:
SCRIPT_NAME = /cookietest.cgi
SERVER_NAME = goatfarm
SERVER_ADMIN = [EMAIL PROTECTED]
HTTP_ACCEPT_ENCODING = gzip, deflate
HTTP_CONNECTION = Keep-Alive
REQUEST_METHOD = GET
SYSTEMROOT = C:\WINNT
HTTP_ACCEPT = */*
SCRIPT_FILENAME = C:/holycow/htdocs/cookietest.cgi
COMSPEC = C:\WINNT\system32\cmd.exe
SERVER_SOFTWARE = Apache/2.0.39 (Win32) mod_ssl/2.0.39 OpenSSL/0.9.6d
WINDIR = C:\WINNT QUERY_STRING = 
REMOTE_PORT = 2077
PATHEXT = .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0;
.NET CLR 1.1.4322) SERVER_PORT = 80 SERVER_SIGNATURE = 
HTTP_ACCEPT_LANGUAGE = nl
REMOTE_ADDR = 192.168.0.111
SERVER_PROTOCOL = HTTP/1.1
PATH = C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;
REQUEST_URI = /cookietest.cgi
GATEWAY_INTERFACE = CGI/1.1
HTTPS = on
SERVER_ADDR = 192.168.0.1
DOCUMENT_ROOT = C:/holycow/htdocs
HTTP_HOST = goatfarm

I used the following little script to generate the hash mentioned above:
#!/perl/bin/perl.exe print "Content-type: text/html\n\n"; while (($key,
$value) = each %ENV) { print "$key = $value<br>\n"; }

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16-10-2003
 

_______________________________________________
Perl-Win32-Users mailing list [EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16-10-2003
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.528 / Virus Database: 324 - Release Date: 16-10-2003
 

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to