php – How can I get $_SESSION data from SESSID?-ThrowExceptions

Exception or error: I have a PHP websocket server (https://github.com/lemmingzshadow/php-websocket/). When an user connects, I want to set/get some session data. The problem is that I can’t use $_SESSION because if I do that, instead of clients’ session I get the session of my websocket server. I have managed to get clients’ SESSID: private function …

PHP sessions expiring early-ThrowExceptions

Exception or error: I’m having problems with the PHP site I run at work where users are being logged out after a few minutes (the exact time varies, but it is frequent enough to be an issue), regardless of whether they have been actively using the site or not. The difficulty is that I can’t …