eljeffe
08-21-2005, 06:10 AM
I found the thread that discussed what was needed to set a cookie that contained the username. But I tried it, and couldn't get it to work.
Here is the snippet of code that I added in the login.php (in two places):
vbsetcookie('userid', $bbuserinfo['userid'], 0);
vbsetcookie('password', md5($bbuserinfo['password'] . 'L45537ea'), 0);
vbsetcookie('username', $bbuserinfo['username'] );
^^^^ This is the set cookie line of code recommended in the earlier thread.
I've made this change, and no username cookie shows up.
Any ideas?
Here is the snippet of code that I added in the login.php (in two places):
vbsetcookie('userid', $bbuserinfo['userid'], 0);
vbsetcookie('password', md5($bbuserinfo['password'] . 'L45537ea'), 0);
vbsetcookie('username', $bbuserinfo['username'] );
^^^^ This is the set cookie line of code recommended in the earlier thread.
I've made this change, and no username cookie shows up.
Any ideas?