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

2003-12-31 Thread Stas Bekman
Geoffrey Young wrote: Curtis Jewell wrote: 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

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

2003-12-29 Thread Geoffrey Young
Curtis Jewell wrote: > 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

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

2003-12-27 Thread Curtis Jewell
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,

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

2003-12-24 Thread Geoffrey Young
> 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 beha

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

2003-12-24 Thread Geoffrey Young
> The problem > is, the machine I'm doing this on will soon run Apache 2.0.47 (the > machine will run Fedora Core 1.0), so I can't use Apache::Request and > Apache::Cookie like I have been doing! Due to maintenance constraints, > we can't use 2.0.48 (the requirement for the m_p 2.0 versions of > Ap

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

2003-12-24 Thread Curtis Jewell
[MDL side: I'm CCing this for informational purposes. I'll post a reply later with what information I get.] I just want to make sure I get this right... I'd like to know how to set cookies from a module for m_p 2.0 WITHOUT using Apache::Request. It's a quite nice module (I used it for my m_p 1