Do PHP sessions set any cookies?

后端 未结 4 1445
离开以前
离开以前 2020-12-09 11:50

I only manually set one cookie on my social network site, but I rely heavily on php sessions. I am wondering if sessions set any cookies behind the scenes?

I was jus

4条回答
  •  余生分开走
    2020-12-09 12:26

    It does, there's a cookie named PHPSSID that stores the session ID.

    For HttpOnly cookies, see http://ilia.ws/archives/121-httpOnly-cookie-flag-support-in-PHP-5.2.html

提交回复
热议问题