Hi all. I've got a situation to which I'm pretty sure I already know the answer, but I'm not entirely certain and would like some opinions.
I have a page for users to update their username, password, and the hint/answer combintation they use to retrieve their password.
Now, once a user logs in he/she has access to what ever applications I have given them access to.
So, let's say user A logs in. When he/she logs in, the following session vars are registered:
user_id
firstname
lastname
username
email
clearance
and then if they try to access an appliction after they've logged in a check is performed which compares the session values with values in the database.
My problem is this:
If a user updates his/her info, the values in the database will not match those stored in the session. Is there any way this can be avoided short of logging them out after their information has been updated, thereby forcing them to login with the new information?
Thanks in advance,
Pablo