I have project on php and websocket server, written on C using
And i have to organize some authentication logic between client side js code and server side.
On php i use sessions with
PHPSESSID cookie set on client side after successfull login.
I can access that cookie on websocket server but,
how to compare it with
session_id() on server’s php side?