PHP session doesn't work with IE

前端 未结 12 1191
后悔当初
后悔当初 2020-12-09 05:10

I have a site made with php which uses server side sessions throughout the site.
In fact, it\'s a site with a user login which depends on session variables and if there

12条回答
  •  臣服心动
    2020-12-09 05:51

    Check the name of the server machine. IE has problems with machine names that contain '-' or '_' - they cannot maintain a session! I've had this problem twice in the past, and it always takes me weeks to figure out, and I'm shocked IE hasn't fixed it.

    Just rename the machine to have no strange characters! You can get it working if you just use the IP address of the server in the url to test.

提交回复
热议问题