常规安全设置参考:http://php.net/manual/zh/session.configuration.php#ini.session.cookie-httponly
方法很简单:
打开php.ini,修改session.cookie_httponly设置
1 | session.cookie_httponly= |
1 | session.cookie_httponly=true |
常规安全设置参考:http://php.net/manual/zh/session.configuration.php#ini.session.cookie-httponly
方法很简单:
打开php.ini,修改session.cookie_httponly设置
1 | session.cookie_httponly= |
1 | session.cookie_httponly=true |