ErinWalker 11 Questions 0 Answers 0 Best Answers 21 Points View Profile 0 ErinWalker Asked: April 17, 2020In: PHP Will a PHP session work if a user has disabled the browser cookie? 0 Will a PHP session work if a user has disabled the browser cookie? php Share Facebook 1 Answer Voted Oldest Recent Mohd Tariq United Arab Emirates 0 Questions 10 Answers 0 Best Answers 40 Points View Profile tariq Added an answer on April 28, 2020 at 5:56 am As per default settings in php.ini sessions are handled using PHPSESSID cookie. And if a user has disabled the cookie then sessions won’t work. If you want to make sessions work even if cookie is disabled then enable session.use_trans_sid in php.ini. Doing so will pass the PHPSESSID in the URL and sessions will work but it is not a good practice may cause security issues if not handled properly. 0 Reply Share Share Share on Facebook Share on Twitter Share on LinkedIn Share on WhatsApp Sorry, you do not have a permission to answer to this question.