In my prestashop, a user (who is not a client or an administrator) can create a “side” account (this is not a prestashop account) to do something special on the site.
I created everything for this, but when the user connects, I cannot store data during the session.
I am looking for a way to save data, and the only thing I see is a smarty cookie. Great, but I can’t control the lifetime of this cookie. And I need this cookie to die when the user closes the browser.
So, I tried to complete the session, but I cannot get it to work, and I have not seen a way to make a cookie that does not last.
Does anyone have an idea to make a session like data or to handle the duration of a cookie?
thank
source
share