So i’m doing this project guys, and i’m using session variable to get the user ID everytime a user logs in. Problem is, when i tried using 2 browsers to view my project, the value of the session variable changes to whichever ID i signed in.
Let’s say i signed in ID# 123 first. Then i signed in 234 second. So now the session variable is now 234.
Is it possible that the value of the session variable won’t change every login? Let’s say 123 logs in, then he holds that value until he logs out.
Sorry i’m an inexperienced PHP developer. Thanks!