PHP Cookies works well on localhost, but it's not working on live server

后端 未结 6 1204
死守一世寂寞
死守一世寂寞 2021-01-21 20:25

Note: This issue is already solved, finally I found that it\'s not cookies problem, the problem is on unserialize() function. The serialized cookie which

6条回答
  •  礼貌的吻别
    2021-01-21 21:01

    Only initialize the ob_start() method before setcookie(). most of the developer ob_start() method include in config file.

提交回复
热议问题