Bug #78741 [NEW]: Sessions aren't working
| From: | sandeep251088 at gmail dot com | Date: | Wed, 23 Oct 2019 07:27:39 +0000 |
| Subject: | Bug #78741 [NEW]: Sessions aren't working | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-223412@lists.php.net to get a copy of this message | ||
From: sandeep251088 at gmail dot com
Operating system: Linux
PHP version: 7.2.23
Package: Apache2 related
Bug Type: Bug
Bug description:Sessions aren't working
Description:
------------
A web page with normal PHP script works fine.
Now added session_start() to maintain a login/logout system.
Web page works fine for some time after login, but after some different
page views (after login) and form submissions ($_POST, $_REQUEST)
activities, web page remain in loading state forever.
Test script:
---------------
// Without session
echo 'Hello'; // works fine, and loads web page instantly
// With session
session_start();
$_SESSION['var'] = 'some_value';
if (form_submitted()){
// some activity
}
Expected result:
----------------
// With session
session_start();
$_SESSION['var'] = 'some_value';
if (form_submitted()){
// some activity
}
// Should go smooth, no web page loading forever
--
Edit bug report at https://bugs.php.net/bug.php?id=78741&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78741&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78741&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78741&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78741&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78741&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78741&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78741&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78741&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78741&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78741&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78741&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78741&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78741&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78741&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78741&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78741&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78741&r=mysqlcfg