PHP Sessions with disabled cookies, does it work?

前端 未结 9 1827
暖寄归人
暖寄归人 2020-11-28 03:58

Today I had skype interview for a job as PHP developer, one of the questions asked was about Cookies and PHP Sessions.

The question was, can PHP session be set and r

9条回答
  •  攒了一身酷
    2020-11-28 04:21

    Yes.. It will Work
    1.PHP will pass one GET parameter in URL with the name PHPSESSID but it can be changed session.name in php.ini file.
    2. It add one hidden input in forms with same name.

提交回复
热议问题