How to maintain sessions with C++ CGI code?

There is a cgi code written in C++. Currently there is no session management done in the web pages. There is a need to provide sessions in the web pages so that the user can login, maintain session and then logoff. While this is a fairly simple task in java with HttpSession, I have no clue how to do this with C++ code.

Is there a C++ library (like Boost) available to manage sessions for web based CGI applications?

How feasible is it to make use of Cookies and URL Rewriting in C++ code for web based CGI applications?
Topic archived. No new replies allowed.