Login / logout update
Brought to you by:
crayzeepete,
henrylegge
I'm currently building a website using ipbsdk as a
bridge between the website and the forums.
Users will also have the possibility to log in through
the website. ipbsdk has the functionality for this but
i noticed something;
The variable *loggedin* is not updated after login or
logout. When a user logs in or out I would want the
status of the var *loggedin* to change.
I fixed this myself by adding a small line at the end
of the login and logout functions ($this->loggedin =
true/false).
Logged In: YES
user_id=1091024
Originator: NO
Current behaviour dictates that the session data held by SDK is that which is generated at startup...