phpdreamer / phpwebsocket

Automatically exported from code.google.com/p/phpwebsocket
0 stars 0 forks source link

How to use cookie in web socket? #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
phpwebsocket is very good. 
But I want use cookie or session in the web socket .

Original issue reported on code.google.com by maoch...@gmail.com on 19 Mar 2010 at 9:30

GoogleCodeExporter commented 9 years ago
Can you explain more ??

Original comment by narendra.sisodiya on 10 Jul 2010 at 4:16

GoogleCodeExporter commented 9 years ago
I think he means..say a user is logged into his site, they goto a page which 
connects them with the socket server, how does the server know their logged in 
user ID (or whatever), which would be set as a session. I would also like to 
know this!

http://stackoverflow.com/questions/5353362/share-session-id-from-cli-to-browser

Had a few bits on.

Original comment by dr.ko...@gmail.com on 9 May 2011 at 5:31