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.
– Maniero
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.
– André Ribeiro
The problem is that I edit through the
PHPMYADMIN
but I have to log out and log in to update the information ..– thecreator
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.
– Franchesco