08-20-2008, 03:19 PM
|
#6 (permalink)
|
|
The Gregarious
Join Date: Mar 2008
Location: Cana'derr
Posts: 653
Thanks: 24
|
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']", $userid, time()+60*60*24*14); setcookie("uservars['username']", $username, time()+60*60*24*14); setcookie("uservars['password']", $password, time()+60*60*24*14); setcookie("uservars['userlevel']", $userlevel, time()+60*60*24*14);
Which will set them to expire in two weeks time (you can change this to anything you wish).
-m
|
|
|
|