How to accept cookie from iPhone, login page

前端 未结 1 1379
走了就别回头了
走了就别回头了 2021-01-25 02:40

I don\'t know what is wrong with this php script but it makes the remember log-in for the device iPhone stop working (will log out every time when refresh the page) but the othe

相关标签:
1条回答
  • 2021-01-25 03:22

    Use session_set_cookie_params on the header:

    session_set_cookie_params(2*7*24*60*60);
    
    0 讨论(0)
提交回复
热议问题