login_box_redirect : when is sessions_table updated?

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
warmweer
Registered User
Posts: 974
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Belt ... well actually Belgium

login_box_redirect : when is sessions_table updated?

Post by warmweer » Thu Dec 14, 2017 10:34 pm

The event "login_box_redirect" allows changing the redirection after succesfull login.
I've been studying the code in functions.php and in session.php and it's not clear to me whether the session table has been updated already before the event is called.
In sessions table there is a row for every connected guest. When that guest logs in, he becomes a member with a specific user_id and it's not clear to me exactly when that row is updated (the _sid being the identifier) to reflect the member's user_id.

Anyone who can shed light on this?
Thanks in advance.
Last edited by warmweer on Fri Dec 15, 2017 8:46 am, edited 2 times in total.
A bug is a feature that hasn't made it to the manual (yet)

Post Reply

Return to “Extension Writers Discussion”

Who is online

Users browsing this forum: CongVT and 6 guests