Geoffrey Young ([EMAIL PROTECTED]) said something to this effect:
> 
> 
> > -----Original Message-----
> > From: darren chamberlain [mailto:[EMAIL PROTECTED]]
> > Sent: Friday, June 30, 2000 8:48 AM
> > To: Steven Wren
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: Session Cookies:cant retrieve value
> > 
> > 
> [snip]
> <plug>
>   Apache::RequestNotes will parse the cookies and place them in pnotes for
> you during the init phase in case you don't feel like writing your own
> handler for it.  It also takes care of GET/POST requests and file uploads
> while it's at it.
> </plug>
> 
> --Geoff

It sure will. I downloaded it when it first came out, but prefer the pure Perl
version of cookie parsing that I showed because it also works (if you change
the $r->headers_in line to $ENV{HTTP_COOKIE}) in CGI. I took the technique
from a some cookie parsing I had originally done in bash. It's simple, concise,
and fast.

It's also ugly, and Apache::RequestNotes is not. Now that I think of it, I
started using the init handler technique *after* I read through RequestNotes...
Maybe I stole it unconsciously... Sorry Geoff...

darren

-- 
I'm not sure which upsets me more: that people are so unwilling to accept
responsibility for their own actions, or that they are so eager to regulate
everyone else's.
                -- Kee Hinckley

Reply via email to