On Thu, 20 Apr 2000, Abhijeet Tale wrote:

> Can anyone tell me whether there are any c/c++ libraries available for
> setting cookies and other functions related to cookies? I use c/c++ for
> writing cgi scripts. 

To set cookies, just print the relevant header to stdout na?

cout<<"Set-Cookie: "<<name<<"="<<value<<"; expires="<<expdate<<"; ...

Just make sure you print this before printing the content-type header.

Philip

--
How can you do 'New Math' problems with an 'Old Math' mind?
                -- Charles Schulz


To subscribe / unsubscribe goto the site www.ilug-bom.org ., click on the mailing list 
button and fill the appropriate information 
and submit. For any other queries contact the ML maintener

Reply via email to