PHP - how "remember" session token while browsing site

I am making an app in PHP. Creating a session_token with CURL works fine.

But I don’t understand how to pass that session_token to other pages, so that the user remains “logged in” while browsing the site. Should it not be stored in a cookie, or is there another technique?

Your help is much appreciated…

Regards,

Erik

We are storing it temporarily on browser local storage.

Something like this :

We use reactjs library as our front end is in React

1 Like