Skip to main content
Apr 10, 2013 2:54 AM UTC
Question

Session Reset Problem

Hi,

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?

    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    Inspiring
    Apr 10, 2013 11:14 PM UTC

    Sessions are independant of each other.  If you want a variable to be the same for all sessions, use a more suitable scope.

    Translate