Hey there I'm trying to implement a PHP Socket service which is used for a simple shoutbox. This shoutbox has a simple login form and a authentication system which is based of sessions.
When the user logins a post requests gets made comparing the values with the database and if they are valid then create a session under that user.
Since these sessions would be stored on the clients computer I was wondering how the PHP Socket would be able to obtain these when it's running on the server. So the PHP Socket would be running on the server and try to obtain the session from the server but the session is stored on the users PC on login.
I already have the shoutbox running in PHP and HTML5 Sockets the only issue is the login step which I'm not entirely sure how to do.