php session problems when opening multiple window tabs

后端 未结 3 635
礼貌的吻别
礼貌的吻别 2021-01-26 12:39

I have a php page that starts with a session_start() and it stores the user info in the session variables. After that it goes either into (1) the long loop script does calcula

3条回答
  •  天命终不由人
    2021-01-26 13:27

    you dont need to do that,

    when u call session_start(); a session is created and it is active until the timeout in php.ini or you call session_destroy();

    your error is somewhere else, do you call session_start after echo or print?

提交回复
热议问题