Hi,
We're in the process of setting up mod_perl on a site which uses cookies
to perform user authentication. Everything worked fine before mod_perl,
but now the cookie is not set when we check for it.
I've searched the web & "Developer's Cookbook", but can't find any
references
to this type of problem, so I'm turning here!
We have not tried Apache::Cookie yet, I'm hoping that, while it might be
a good solution, it won't be *required*.
Here's what we got:
Embedded Perl version 5.00503 for Apache/1.3.9 (Unix) mod_perl/1.27
and in httpd.conf:
PerlRequire /opt/apache/FSE/share/cgi-bin/start-up.pl
PerlFreshRestart On
Alias /home/ /opt/apache/FSE/share/cgi-bin/
<Location /home/home.cgi>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
</Location>
*Why* are cookies not readable?
*How* do we get them working??
ENV{HTTP_COOKIE} does not contain a newly set cookie, often it
still contains an old value when I try to change it (ie switch to a
different user).
Everything else appears to be working fine.
Thanks!
-----------------------------------------------------------
mlk @ korey.net
www.fantasycup.com
-----------------------------------------------------------