Req #77709 [NEW]: allow passing a timeout value to session_start
| From: | torgato at posteo dot de | Date: | Thu, 07 Mar 2019 16:52:27 +0000 |
| Subject: | Req #77709 [NEW]: allow passing a timeout value to session_start | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-219885@lists.php.net to get a copy of this message | ||
From: torgato at posteo dot de
Operating system:
PHP version: Irrelevant
Package: Session related
Bug Type: Feature/Change Request
Bug description:allow passing a timeout value to session_start
Description:
------------
Currently session_start blocks until all previous session_start's are
closed and there is no "at least not known to me" way to limit this
blocking as even max_execution_time is not counted during this time.
So I would like to see session_start to accept a timout value like
session_start(5)
that returns, in this case, after 5 seconds and gives the programmer the
chance to react to the fact that there is one/multiple long running
session using the same session ID already.
--
Edit bug report at https://bugs.php.net/bug.php?id=77709&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77709&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77709&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77709&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77709&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77709&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77709&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77709&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77709&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77709&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77709&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77709&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77709&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77709&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77709&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77709&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77709&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77709&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77709&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77709&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77709&r=mysqlcfg