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 load Phalcon\Http\Cookie?


I'm new to Phalcon framework and trying my best to learn more. At the moment I'm stuck at setting up cookies with encryption. I would appreciate if someone could give me an example on how should I load Cookies service properly with the encryption method. My current services.php is default. Also if I could get a link to a specific article where I could find more services which I could load depending on my requirement with examples that would make my work a lot easier.


edited Jan '15

I get "Encryption key cannot be empty" error. Could I be missing to setup the encryption key?

Edit: I was missing the global key.