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

Session Reset Problem

Guest
Apr 09, 2013 Apr 09, 2013

Copy link to clipboard

Copied

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?

Views

458

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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
Documentation