Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

how to get session values from session string?

Hi,

Phalcon stores session values in the string (in Files or DB) with unknown for me encoding algorithm... How to convert that string back to session values in PHP cli app?

Thank you.



48.3k
edited Feb '15

Check out Webird. Its a highly modified Vokuro setup.

The SessionReader is good for the CLI interface. I've broken the services up into ones that are relevant for CLI and then another that adds web services.

Then load up the schema.



504
Accepted
answer

Resolved... Session data was encrypted with suhosin. To disable encryption add to php.ini:

suhosin.session.encrypt = Off