title: how can i extend the cookie expiration time in php everytime i i regenerate the session id?
body: <p>I have a session manager page: <em>sessmgr.php</em>. This page is supposed to validate the user log-in information, set the cookies and keep the session variables alive by updating the cookies expiration time and regenerating the session id by an XML HTTP request at regular intervals till the user logs out. I am able to update the session id but not extend the cookie expiration time. </p>
  
  <p>How to update the cookie expiration time here ??</p>