You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by princepawn <pr...@perlmonk.org> on 2001/09/01 16:52:57 UTC
Apache::Request cookie handling methods?
p.209 of the Eagle Book states that Apache::Request has some
experimental cookie-handling functions. However, neither perldoc
Apache or perldoc Apache::Request has the word cookie anywhere in
their body.
CGI::cookie() is wonderful, but I feel funny using CGI.pm and
CGI::Cookie under mod_perl and would much rather use Apache API
methods.
Could someone point me to the documentation for apache-based cookie
handling?
Re: Apache::Request cookie handling methods?
Posted by Per Einar <pe...@skynet.be>.
----- Original Message -----
From: "princepawn" <pr...@perlmonk.org>
To: <mo...@apache.org>
Sent: Saturday, September 01, 2001 4:52 PM
Subject: Apache::Request cookie handling methods?
> p.209 of the Eagle Book states that Apache::Request has some
> experimental cookie-handling functions.
I don't believe they are experimental anymore. The Eagle book is growing a
little oiutdated concerning some of the newer features of mod_perl. It's
always good to check the mod_perl guide ( http://perl.apache.org/guide/ ),
or other documentation on mod_perl too.
> However, neither perldoc
> Apache or perldoc Apache::Request has the word cookie anywhere in
> their body.
>
> CGI::cookie() is wonderful, but I feel funny using CGI.pm and
> CGI::Cookie under mod_perl and would much rather use Apache API
> methods.
The cookie handlng functions from the Apache API come from the
Apache::Cookie module. It has the same interface as CGI::Cookie, except that
it requires you to pass it the request record too. It comes with the
Apache::Request distribution, and is documented through `perldoc
Apache::Cookie`.
Per Einar Ellefsen
Re: Apache::Request cookie handling methods?
Posted by Jon Nangle <bl...@cix.co.uk>.
>>>>> "princepawn" == princepawn <pr...@perlmonk.org> writes:
princepawn> Could someone point me to the documentation for
princepawn> apache-based cookie handling?
perldoc Apache::Cookie
Jon
Re: Apache::Request cookie handling methods?
Posted by Ken Williams <ke...@forum.swarthmore.edu>.
princepawn@perlmonk.org (princepawn) wrote:
>p.209 of the Eagle Book states that Apache::Request has some
>experimental cookie-handling functions. However, neither perldoc
>Apache or perldoc Apache::Request has the word cookie anywhere in
>their body.
The cookie-handling stuff is called Apache::Cookie.
------------------- -------------------
Ken Williams Last Bastion of Euclidity
ken@forum.swarthmore.edu The Math Forum