Thanks! CGI::Cookie should work just fine. (I can't precalculate the cookies, I have 200 usernames that could be used.)

(You're right. Turns out the test machine was 2.0.40 (a RH9 machine) and that's why I couldn't use it. But they would like me to avoid it if I can - one less thing to install, you know?.)

One other question... could I use the newest versions of CGI.pm to get POST or GET parameters to a 2.0 handler (I have another one that uses that capability) or am I stuck with Apache::Request for that, too?

--Curtis

Geoffrey Young wrote:
just add a properly formatted Set-Cookie header to $r->headers_out.


oh, and as the thread just next to this also reminded me, you can try
CGI::Cookie as well:

http://perl.apache.org/docs/2.0/user/coding/cooking.html#Sending_Cookies_in_REDIRECT_Response__handlers_

if you want to mimic mp1 behavior you'll want to 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 bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to