why is php generating the same session ids everytime in test environment (WAMP)?

后端 未结 7 1351
礼貌的吻别
礼貌的吻别 2020-12-10 20:53

i\'ve configured wamp in my system, and am doing the development cum testing in this local environment. i was working on the logout functionality, and happened to notice tha

7条回答
  •  -上瘾入骨i
    2020-12-10 21:35

    You must regenerate the session id using function session_regenerate_id(). Without that, the session ID would be the same between page refreshes.

提交回复
热议问题