On my shared server I frequently have trouble saving session variables.
If I run the script over and over again, eventually the variables register.
I thought I would try looping until they save properly, like this...
while (!isset($_SESSION['uid']))
{
$_SESSION['uid'] = $uid;
$_SESSION['pwd'] = $pwd;
}
endwhile;
But it doesn't work. Anybody know why?