RE: Cookies in PerlAccessHandlers

2001-04-24 Thread Chris Strom
You may have a typo in the code provided. Also, you should probably start using mod_perl methods rather than perl built-in functions. > In a PerlAccessHandler I have code similar to the following: > > sub handler > { > my $r = shift; > my ($cgi, $cookie); > > use CGI; > $cgi =

Cookies in PerlAccessHandlers

2001-04-22 Thread Alec Smith
In a PerlAccessHandler I have code similar to the following: sub handler { my $r = shift; my ($cgi, $cookie); use CGI; $cgi = new CGI; $cookie = $cgi->cookie(-name => 'test'); # For debugging only open(TEST, ">>/tmp/accesstest"); flock(TEST,2); print TEST "co