valerian wrote:
I'm experiencing strange behavior with cookies when my scripts are accessed in mod_perl (using Apache::Registry). Everything works fine so long as my browser is configured to not go through a proxy (ie, in Netscape 4.77, "directly connected to the Internet" option is selected). When I configure it to use a custom proxy (eg, Junkbuster running on my LAN gateway), my cookies no longer work, but I can still browse the web fine.
I would not rule out the junkbuster proxy just yet. To get at the root of the problem, you will need to see the HTTP headers as they are output directly from your program, with and without the proxy. You can use lwp-request for this like: lwp-request -ed http://URL/PATH lwp-request -ed -p PROXY http://URL/PATH and see what HTTP headers come back. If the headers change, then maybe the junkbuster proxy is munging something up or dropping headers. It may be that there is some header special to mod_perl that is messing up junkbuster for example so that you do not see the problem in CGI mode. There is also a chance that junkbuster is adding some header, only for the mod_perl output that simply messes up netscape. Either way, seeing the headers themselves should help get to the root of it. If its the former scenario, I would take the problem first to the junkbuster developers. Regards, Josh ________________________________________________________________ Josh Chamas, Founder phone:925-552-0128 Chamas Enterprises Inc. http://www.chamas.com NodeWorks Link Checking http://www.nodeworks.com