This is in reference to question How to maintain sessions with C++ code?
Is there a C++ library (like Boost) available to manage sessions for web based CGI applications?
Just to add another link:
I've never tried it (because I'm not programming webapps), but a fellow student of mine uses Wt and loves it.
I've never used it, but I came across this:
You can check libdodo too and take out the session part.
One option is use of session variables. I am not very sure that they will work with C++ but they are one of the best option of session management in java and are always preferable over cookies as cookies are written on the client browser and you may have to compromise with the sensitive data security.