Change user data without it needing to login / Login

Asked

Viewed 169 times

0

Good people, I think a lot of people who work with PHP has already come across this my question which is: When I edit something on user it does not edit soon, IE, have to log out and log in to assign the session..

Let me give you an example:

I have a spine that is: Nome and when updating it to the user in question, changed the name only to give F5 or change to another page within my site, without having to Logout..

  • This is typical of poorly thought-out systems. Here for example we never need to give logout. We don’t need to give refresh on the page to see something we just changed when this is important. There are cases that changing page to see the change makes no difference, it is something desirable. Anyway there is a question there. to tell the truth I would have difficulty reproducing the situation that required relocate to update.

  • If you store the user name in the session just update there too after updating in the database. There is no need for the user to log in again.

  • The problem is that I edit through the PHPMYADMIN but I have to log out and log in to update the information ..

  • Put this information in the question, to make it clearer. But this way I do not know any other way to update without giving refresh.

1 answer

0


Friend, if you store the name in the session, you will have to change it too.

  • The problem is that I edit through the PHPMYADMIN but I have to log out and log in to update the information ..

Browser other questions tagged

You are not signed in. Login or sign up in order to post.