|  | Posted by T.Taylor on 12/07/06 18:28 
I am using a session to store user info and a cookie to store theirusername.  When the user returns to the site I would like the username
 to be loaded from the cookie but it expires as soon as you close the
 browser.  How can I stop the cookie from expiring when the browser
 closes?
 
 setcookie($cookiename,$cookievalue,time()+(60*60*24*90),$cookiepath,$cookiedomain);
 
 Thanks in advance.
  Navigation: [Reply to this message] |