[mp2] [MDL] setting cookies without Apache::Request

2003-12-24 Thread Curtis Jewell
gt; '/',); my $filename = $r->filename; if ($filename =~ m#logout\.html$#) { # expire it now! $cookie1->expires('-1d'); $cookie2->expires('-1d'); $cookie3->expires('-1d'); } $cookie1->bake; $cooki

Re: [mp2] [MDL] setting cookies without Apache::Request

2003-12-27 Thread Curtis Jewell
o use err_headers_out anyway - that's one difference between libapreq1 and libapreq2, so far as I can tell. --Geoff -- LDS Mission Network(sm) The mission home of the World Wide Web.(sm) www.mission.net / www.ldsmissions.net Curtis Jewell, [EMAIL PROTECTED], [EMAIL PROTECTED] -- Reporting

[mp2] Okay. Where's my error here... (Authen module)

2004-01-13 Thread Curtis Jewell
.html$#) { # expire it now! $cookie0->expires('-1d'); $cookie1->expires('-1d'); $cookie2->expires('-1d'); $cookie3->expires('-1d'); } $r->err_headers_out->add('Set-Cookie' => $cookie0); $r->err_headers_out->add('Set-Cookie' => $cookie1); $r->err_headers_out->add('Set-Cookie' => $cookie2); $r->err_headers_out->add('Set-Cookie' => $cookie3); } else { $r->log_error("[UHOH] NOT Creating cookies at ", $r->uri); } return Apache::OK; } 1; -- LDS Mission Network(sm) The mission home of the World Wide Web.(sm) www.mission.net / www.ldsmissions.net Curtis Jewell, [EMAIL PROTECTED] -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: [mp2] Okay. Where's my error here... (Authen module)

2004-01-14 Thread Curtis Jewell
Thank you, Jason. That was my problem! Jason Galea wrote: Should you maybe swap: > if ($sent_user == "") { for > if ($sent_user eq "") { cheers, J -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html

Re: [mp2] Okay. Where's my error here... (Authen module)

2004-01-14 Thread Curtis Jewell
It was my bug, not mod_perl's (note other message in thread) Thanks anyway! --Curtis Stas Bekman wrote: Curtis Jewell wrote: This is an Authen module that's letting everything through at the moment (it was ported from a 1.0 routine that worked) please file a proper bug report, th