homepage Welcome to WebmasterWorld Guest from 54.227.67.210
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Apache and Cookies
Webhost is fine, localhost does not allow HTTP_COOKIE
gsx




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

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




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

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!)

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved