Welcome to WebmasterWorld Guest from 54.163.100.58

Forum Moderators: Ocean10000 & incrediBILL & phranque

Apache and Cookies

Webhost is fine, localhost does not allow HTTP_COOKIE

   

gsx

5:21 pm on Nov 1, 2002 (gmt 0)

10+ Year Member



Using my webhost I can access the variable $ENV{'HTTP_COOKIE'} in Perl, but when I try and use it on my local computer (http://localhost/) it does not have this variable.

I use the local computer for extensive testing, my webhost has limited bandwidth and is akward for making them one character adjustments (you know, when you forget the ';' at the end of a line!)

How can I get Apache to supply this variable to localhost (is it somewhere in the config, because I can't find it)?

gsx

9:18 pm on Nov 1, 2002 (gmt 0)

10+ Year Member



Oh... got an answer! (for anyone who wants to know - check the host IP, if it is 127.0.0.1 send or save the cookie to a file, otherwise send it as a cookie!)
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month