|
|
|
Re: variable logged in flag [message #14516 is a reply to message #14515] |
Mon, 17 November 2003 05:00 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
_uid contains the numeric id of the user, if _uid == 0 then the user you are dealing with is anonymous (non logged in user).
FUDforum Core Developer
|
|
|
|
Re: variable logged in flag [message #15400 is a reply to message #15399] |
Mon, 15 December 2003 03:08 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You determine if a user is logged in by reading the cookie set by the forum and then checking if session id stored in the cookie matches the data in the session table. For reference consult cookies.inc.t & users.inc.t
FUDforum Core Developer
|
|
|