What is the correct way to keep a user ID when navigating between pages?
I do so: on the homepage do "autentication forms" and then save the user number in a session variable. example:
0001 for user 1
0003 for user 2
So I have the following questions:
This is a reliable method?
It's the best method?
A user can change the session variable client-side?
Example: the user 1 change the value 001 to 003 and take control?
Thank you for ideas and feedback on these questions.
...
Go to the complete details ...