I have a web project using session to store a code num.
In my working machine, original session variable is "A000". I set the session to "A123". Then, go to second page and it shows session "A123" correctly.
However, in another working machine, I set the session to "A123", second page shows session "A000", not the one I updated.
How this happen? And how can I solve this problem?
Sessions are independant of each other. If you want a variable to be the same for all sessions, use a more suitable scope.