美文网首页
Session Reset Between HTTP and H

Session Reset Between HTTP and H

作者: JerodYan | 来源:发表于2015-01-19 16:41 被阅读26次

Sessions might be reset when a same page transfers from http to https protocol.

If the preceding http request sent no cookie to the server because the cookies were set to secure, the server finds no session id in the request and create new session id.

php_value session.cookie_httponly 1
php_value session.cookie_secure 1

That’s why the session was reset right before redirecting to https.

相关文章

网友评论

      本文标题:Session Reset Between HTTP and H

      本文链接:https://www.haomeiwen.com/subject/tnchxttx.html