Bug #79295 [Opn->Nab]: Gecko/Firefox Session Mutation Bug

From: Date: Sat, 22 Feb 2020 08:15:09 +0000
Subject: Bug #79295 [Opn->Nab]: Gecko/Firefox Session Mutation Bug
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225663@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79295&edit=1 ID: 79295 Updated by: requinix@php.net Reported by: jab_creations at yahoo dot com Summary: Gecko/Firefox Session Mutation Bug -Status: Open +Status: Not a bug Type: Bug Package: Session related Operating System: Windows 7/10 PHP Version: 7.3.15 Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2020-02-22 08:02:16] jab_creations at yahoo dot com Description: ------------ A major bug that only effects Gecko browsers (e.g. Firefox, Waterfox) refuses to remember the session across page loads. As my software requires a session to view pages visitors afflicted by this bug are unable to access the website at all. In the interim I have setup an error-handler page explaining the technical issue along with displaying the session id so they can see the issue. Most people reload the page until they pass the system tolerance level and they get a nonrelated error for up to half an hour. If you are thoroughly testing the issue I highly recommend a VPN that can generate a lot of different IP addresses to avoid having to wait to resume testing once you've exceeded the system tolerance. This can be tested at jabcreations.com only with Gecko based browsers. I have not been able to determine the exact cause of this as this issue as it appeared in the middle of a major project though the issue has naturally gotten progressively worse. Test script: --------------- PHP script initiation: ini_set('session.cookie_secure', 1); ini_set('session.gc_maxlifetime', 3600); session_set_cookie_params(3600); ini_set('session.cookie_httponly', 1); ini_set('session.cookie_samesite','Strict'); ini_set('session.use_only_cookies', 1); session_name('session'); session_start(); php.ini settings: [Session] session.save_handler = files session.save_path = "/tmp" session.use_cookies = 1 session.use_only_cookies = 1 session.auto_start = 0 session.cookie_lifetime = 1800 session.cookie_path = / session.cookie_domain = session.serialize_handler = php session.gc_probability = 1 session.gc_divisor = 1000 session.gc_maxlifetime = 1800 session.bug_compat_42 = Off session.bug_compat_warn = Off session.referer_check = session.entropy_length = 0 session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 0 session.hash_function = 0 session.hash_bits_per_character = 5 Expected result: ---------------- Sessions should not mutate or be lost. Actual result: -------------- Gecko browsers mostly forget the generated session and therefore every single request a new session is generated. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79295&edit=1

« previous php.bugs (#225663) next »