Access active sessions in PHP

Seeing the responses, though it’s possible, it doesn’t mean you should do it. The format in which the sessions are stored is not documented and may change at any time (even between minor versions).

The correct way to do this is to implement your own session handler. It’s not that hard, really.

Leave a Comment