Req #79229 [NEW]: CLI would greatly benefit from full session support

From: Date: Wed, 05 Feb 2020 10:48:04 +0000
Subject: Req #79229 [NEW]: CLI would greatly benefit from full session support
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225371@lists.php.net to get a copy of this message
From: fidhleir99 at gmail dot com Operating system: FreeBSD 11.3R PHP version: 7.4.2 Package: Session related Bug Type: Feature/Change Request Bug description:CLI would greatly benefit from full session support Description: ------------ I do quite a lot with php from the command line --I strongly prefer it over the unix shell languages, it's much quicker to use for utility development than C, and much more stable for big jobs than running them in a browser. It didn't occur to me that the CLI might not have full session support since it's such a natural for preserving state. So I spent a frustrating day yesterday trying to debug the problem I was having getting my test session to resume. It wasn't until I was falling asleep last night that the penny dropped: maybe the CLI doesn't *have* proper session support?? Yep. That's what it was, of course. Now that I know what's going on, I can work around it. But it would be *very* nice to be able to use the same code in both environments. Yesterday's problems seemed to be centered on the CLI's inability to store and retrieve the session cookie. But that ought to be a really easy fix: store cookies in the same subtree used for php.ini, which in the case of freebsd is /usr/local/etc. I know everyone is always busy, but if you did a survey I think you'd find that quite a few people would benefit from the CLI having full session support. -- Edit bug report at https://bugs.php.net/bug.php?id=79229&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=79229&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=79229&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=79229&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=79229&r=needscript Try newer version: https://bugs.php.net/fix.php?id=79229&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=79229&r=support Expected behavior: https://bugs.php.net/fix.php?id=79229&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=79229&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=79229&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=79229&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=79229&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=79229&r=dst IIS Stability: https://bugs.php.net/fix.php?id=79229&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=79229&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=79229&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=79229&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=79229&r=mysqlcfg

« previous php.bugs (#225371) next »