How do I delete PHPSESSID on client computers

前端 未结 13 1650
滥情空心
滥情空心 2020-12-30 22:50

UPDATE ON THE PROBLEM:

  • On some browsers, we have two PHPSESSIDs.
  • One PHPSESSID is not set by me anywhere in my script
  • It has
13条回答
  •  悲哀的现实
    2020-12-30 23:23

    I would simply expire the cookie from /folder. This should leave you with only one session cookie for /

    setcookie('PHPSESSID', '', time() - 86400, '/folder/');
    

提交回复
热议问题