Re: external_fud_login |
Tue, 08 March 2011 20:49 |
|
ok thanks. I've done some more digging and it looks like the external_fud_login function isn't the problem.
I currently have a page called login.php which is calling the above function and when I go to another page in my site that views the cookie even if it doesn't do anything FUD based with it and I then go to the Forum it seems to work fine.
However if I go directly from my login page to the FUDforum index.php then I get logged in as an anonymous user.
Any explanation as to why this is happening / ways to get around it?
|
|
Re: external_fud_login |
Tue, 08 March 2011 12:08 |
|
Users with looooong ses.user_id numbers are anonymous users.
They won't have matching entries in the users table.
|
|
external_fud_login |
Tue, 08 March 2011 05:52 |
|
I've been trying to use the external_fud_login function to log users in, but the data in the cookie corresponds to an entry in the 'fud30_ses' table with a user_id which doesn't exist. Most of the entries in the table are 10 digit numbers which definitely aren't in the users table.
The function does sometimes work and provide a cookie corresponding to the correct user, but it seems to be less than 50% of the time.
Anyone know what's going on?
|
|