#27423 [Opn]: Session hang
| From: | irchtml@php.net | Date: | Sat, 28 Feb 2004 04:46:55 +0000 |
| Subject: | #27423 [Opn]: Session hang | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-55674@lists.php.net to get a copy of this message | ||
ID: 27423
Updated by: irchtml@php.net
Reported By: ypout at mail dot ru
Status: Open
Bug Type: Session related
Operating System: Linux 2.4.25
PHP Version: 4.3.4
New Comment:
Try a call to session_write_close() before the system()/popen() call.
Previous Comments:
------------------------------------------------------------------------
[2004-02-27 10:35:54] ypout at mail dot ru
Description:
------------
PHP sessions will hang if an external command is executed either
through system() or the popen() calls. The session restores as soon as
the external command terminates. The problem is when I try to follow
another link in a multiframed view.
Reproduce code:
---------------
session_start();
.....
.....
set_time_limit(0);
ignore_user_abort(TRUE);
system($cmd, $sys_res); // Takes very long
.....
note (I tried popen aswell)
Expected result:
----------------
does not matter
Actual result:
--------------
does not matter
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27423&edit=1