You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Bogdan TARU <bg...@icomag.de> on 2003/03/20 16:05:58 UTC

Cookie functions in Apache's API

	Hi everyone,

 Are there any functions that I could use to find out a Cookie's value
available in Apache's API? Or at least some C code example of how could I
parse an expression like:

'Var1: value1; Var2: value2; Var3: value3;"

 in order to get the 'value2' field?

 Please include my email address in the reply, since I'm not subscribed to
the mailing list.

 Thank you,
 bogdan


----------------------------
iCom Media AG
Kirchweg 36
Koln, 50858
Germany

Phone: +49-(0)221-485-689-16
Fax  : +49-(0)221-485-689-20
Mobile:+49-(0)173-269-76-62


Re: Cookie functions in Apache's API

Posted by Stas Bekman <st...@stason.org>.
Bogdan TARU wrote:
> 	Hi everyone,
> 
>  Are there any functions that I could use to find out a Cookie's value
> available in Apache's API? Or at least some C code example of how could I
> parse an expression like:
> 
> 'Var1: value1; Var2: value2; Var3: value3;"
> 
>  in order to get the 'value2' field?
> 
>  Please include my email address in the reply, since I'm not subscribed to
> the mailing list.

The httpd-apreq project is a generic library designed to handle parsing of 
HTTP request bodies, including Cookies. It includes interfaces in C, Perl and 
I think tcl was mentioned. See:
http://httpd.apache.org/apreq/

A new version for Apache2 is in works, but not ready yet.

__________________________________________________________________
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