You could look at the source code of HttpClient.

http://jakarta.apache.org/commons/httpclient/

Mike

> -----Original Message-----
> From: tclug-devel-bounces+mbresnah=visi.com at mn-linux.org
> [mailto:tclug-devel-bounces+mbresnah=visi.com at mn-linux.org]On Behalf Of
> Aravindan Raghuveer
> Sent: Thursday, October 30, 2003 11:08 AM
> To: tclug-devel at mn-linux.org
> Subject: [TCLUG-DEVEL] Refresh Meta Tags and Cookies.
> 
> 
> Hello,
>                  I am developing  a HTTP client and I use Jakarta 
> Tomcat.  I
>  read on the web that I can use a statement like [see below] to set a
>  cookie on the client.
> 
> <META HTTP-EQUIV='Refresh' CONTENT='1; URL=example.com'>
> 
> How does the server pass information like session-id to be stored in the
> cookie without explicitly using any set-cookie,[key,value] pairs ?
> 
> Rather how do I trap the session-ids in my client C++ program that the
> browser would have actually used to create the cookie ?
> 
> Any help would be appreciated.
> 
> I am not sure if posting Linux Web Development questions is a appropriate
> use of this mailing list. Sorry if it is not.
> 
> Thanks in advance.
> Regards,
> -Aravind.
> 
> 
> 
> Aravindan Raghuveer
> Graduate Student
> Department of Electrical and Computer Engineering
> University of Minnesota
> Minneapolis, MN
> 
> _______________________________________________
> tclug-devel mailing list
> tclug-devel at mn-linux.org
> https://mailman.real-time.com/mailman/listinfo/tclug-devel

_______________________________________________
tclug-devel mailing list
tclug-devel at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-devel