title: Prestashop 1.6 session/cookie with smarty
body: <p>In my prestashop a user (that is not a client or an admin) can create a "side" account (that is not a prestashop account) to do something special on the site.</p>
  
  <p>I have created the everything to do that but when the user connect i can not keep the data during the session.</p>
  
  <p>I've look for a way to keep the data and the only thing i see is the smarty cookie. Fine by me BUT i can not control the lifetime of that cookie. And i need this cookie to die when the user close the browser.</p>
  
  <p>So i've tried to do a session, but i can't get it to work and i didn't see a way to do a cookie that doesn't last.</p>
  
  <p>Anyone has an idea to do a session like data, or to handle the cookie lifespan?</p>
  
  <p>Thank you</p>