You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Stas Bekman <st...@stason.org> on 2004/05/27 00:10:14 UTC

Re: [mp2] migrating Apache::Cookie from mp1

Casey Songer wrote:
> I've been running site using mod_perl and HTML::Mason for 3-4 years with 
> few problems.  I recently am being asked to move everything to a new box 
> that has Apache2 running on it (with mp2).  I was able to install and 
> get everything running for a site with no sessions and everything seems 
> to be working fine.  For another site, I was using Apache::Cookie for 
> session management.  I tried using the same code as for with mp1 with 
> just changing  the parse call to fetch (see code below).  The cookies 
> aren't working.  As far as I can tell, cookie->new() is failing in 
> Apache/Session/Generate/MD5.pm in the validate() function.  I guess my 
> question is first of all, am I going about this the right way?  (It's 
> been a while since I set up the original mp1 cookies code).  Are people 
> using the new Apache::Cookie (libapreq2)?  The documentation I've been 
> able to find for it is pretty sparse so far.  Can somebody point me to 
> some source code or better documentation than what I have found so far? 
> Here are the versions of stuff I am using:
> Apache: 2.0.49
> mod_perl: 1.99_13
> libapreq2: 2.02_02

Casey, libapreq2 != mp2, please ask libapreq questions on the libapreq list [1].

Thanks.

[1] http://httpd.apache.org/apreq/

-- 
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html