I used session_start() to initiate a session in PHP, but when my browser closes, the session is gone.
session_start()
How do I use PHP to create persistent sessions tha
I would recommend using cookies and a database if you want a persistent session. We store the customer's ID (random 32 bit alph-anumeric value) in a cookie and then reference that to load up their customer information.