httpd-test-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: Apache::TestRequest + Cookies
Date Wed, 24 Nov 2004 19:22:19 GMT
Christopher H. Laco wrote:
> Has anyone used ApacheTestRequest to test pages using cookiessessions?
> 
> I'm writing some quick and dirty tests for an AxKit session module I've 
> adopted. I've got everything up and running config wise and the pages 
> are getting run through AxKit just fine.
> 
> The first two tests simply consist of a set-value page which uses 
> Apache::Session::File to store a value, and a get-value page that 
> confirms the value is returned. Of course the get-value test, test 2, 
> fails because Apache::TestRequest is ignore the sessionid cookie [or all 
> cookies really].
> 
> I have LWP installed and I've tried a few different encantations using 
> ->cookie_jar and HTTPCookie without any luck. Is there a Tutorial or 
> examples somwhere that cover dealing with sessions within 
> Apache::TestRequest?

I guess the silence means that no one has used it with cookies. I suppose 
that you could fix it to work with cookies though. But I could be wrong 
and it already works but not documented. there is a lot of such code in there.

-- 
__________________________________________________________________
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

Mime
View raw message