What happens if cookies are disabled?

后端 未结 3 1307
心在旅途
心在旅途 2021-01-11 12:39

Pretty basic question here. In PHP, if the user\'s browser has cookies disabled, you cannot make use of both server cookies ($_SESSION) AND client cookies (

3条回答
  •  孤城傲影
    2021-01-11 13:32

    I think you should read the session reference manual http://www.php.net/manual/en/session.idpassing.php

    In short, if your server can't find session_id, he can not restore session. But you can use alternate ways to store session values. Or you can generate session_od base on user's client environment parameters.

提交回复
热议问题