View Single Post
Old 08-20-2008, 02:19 PM   #6 (permalink)
delayedinsanity
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

Never heard of it till now, but as for your cookie problem, have you tried setting your own expiration on them? According to the manual;

If set to 0, or omitted, the cookie will expire at the end of the session (when the browser closes).

So perhaps you're running into a situation where the cookie is expiring before the browser is closing, for whatever reason. Try the following perhaps;

PHP Code:
setcookie("uservars['userid']"$useridtime()+60*60*24*14);     
setcookie("uservars['username']"$usernametime()+60*60*24*14);     
setcookie("uservars['password']"$passwordtime()+60*60*24*14);     
setcookie("uservars['userlevel']"$userleveltime()+60*60*24*14); 
Which will set them to expire in two weeks time (you can change this to anything you wish).
-m
delayedinsanity is offline  
Reply With Quote