Flask session variables

后端 未结 3 1687
眼角桃花
眼角桃花 2021-02-03 15:31

I\'m writing a small web app with flask. I have a problem with session variables when two users (under the same network) try to use app.

This is the code:



        
3条回答
  •  梦如初夏
    2021-02-03 15:54

    The reason that the session variable is the same for the two users is likely because you're using the same computer / browsing account. It's just like how Facebook remembers your login status after you open a new Facebook tab.

    I advise you to get another computer or use a different Chrome Account (top right of Google Chrome) to test out for different users.

提交回复
热议问题