Hi guys,
I need help with and Idea on how to do this. Basically I want to have sockets session. User logs in and the program authenticates him against DB. Having done some PHP this is not big problem. The problem is how do I maintain session. In PHP there is session superglobal. I have no Idea how to do it in C++

Any suggestion on that?