login_box_redirect : when is sessions_table updated?

Discussion forum for Extension Writers regarding Extension Development.
Post Reply
User avatar
warmweer
Jr. Extension Validator
Posts: 11270
Joined: Fri Jul 04, 2003 6:34 am
Location: Van Allen Bel ... gium
Contact:

login_box_redirect : when is sessions_table updated?

Post by warmweer »

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.
Spelling is freeware, which means you can use it for free.
On the other hand, it is not open source, which means you cannot change it or publish it in a modified form.


Time flies like an arrow, but fruit flies like a banana.
Post Reply

Return to “Extension Writers Discussion”