Auth0 Home Blog Docs

PHP storage - how to store in cookie?

php

#1

Hi,

I followed the PHP quick start and everything is working. However, each time I want to use my app, I have to login, which is pretty annoying. As I understand from the documentation, this is due to the fact that the information is stored in a PHP session. Is that correct ? If so, I would like to store it in a cookie so that I can extend the storage time beyond my browser session. Is this possible ? Could you be so kind and provide with a php example code for this ?

Thank you in advance,

Konrad