You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After dbAuth login, the details in $_SESSION are not updated when they are updated in the database - for example the username. What is the best practice to keep the $_SESSION details updated?
Currently I run a request to the database at the top of the api.php file to update $_SESSION on each call.
The text was updated successfully, but these errors were encountered:
After dbAuth login, the details in
$_SESSION
are not updated when they are updated in the database - for example theusername
. What is the best practice to keep the$_SESSION
details updated?Currently I run a request to the database at the top of the
api.php
file to update$_SESSION
on each call.The text was updated successfully, but these errors were encountered: