Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Session Reset Problem

Guest
Apr 09, 2013 Apr 09, 2013

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?

484
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Apr 10, 2013 Apr 10, 2013
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources