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

Re: Problem with Apache::DBI

2001-04-05 Thread Alec Smith
was off. It should not be off for DBD::mysql (since it doesn't yet support the transaction features of newer versions). Plus, disconnect doesn't do anything when using Apache::DBI (by design). Tim. On Wed, Apr 04, 2001 at 11:49:17PM -0400, Alec Smith wrote: Issuing rollback() for database

Just learning, and a little stuck...

2001-02-23 Thread Alec Smith
This isn't specifically a mod_perl question, but something I'm having trouble doing within mod_perl code. I'm far from a Perl expert, but I try... I've got a hash called %post which contains submitted form info and a variable $db which is the result of a DBI-connect call. I need to take these 2