I know how to add cookie, but only one. Second one and others will put down to a web-browser page as text. The magic line: cout << "Content-type:text/html\r\n\r\n";
is switched off. So, I have a question - how to add two or more different cookies using one .cgi file?
This is just some parts from the code, to give a hint:
Everything from GNU is hard to understand. But they do tend to follow a certain pattern in the documentation which, once you get used to it, makes it slightly less hard to follow...
A lot of times it just requires reading through to see if there is a function to do what you are thinking. In this case your problem was more with C++ than the documentation for cgicc, so that made it easier to guess at what it was.