Re: Apache::Request cookie handling methods?

2001-09-03 Thread Jon Nangle

 princepawn == princepawn  [EMAIL PROTECTED] writes:

princepawn Could someone point me to the documentation for
princepawn apache-based cookie handling?

perldoc Apache::Cookie

Jon



Apache::Request cookie handling methods?

2001-09-01 Thread princepawn


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?

2001-09-01 Thread Ken Williams

[EMAIL PROTECTED] (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
  [EMAIL PROTECTED]The Math Forum



Re: Apache::Request cookie handling methods?

2001-09-01 Thread Per Einar


- Original Message -
From: princepawn [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
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