ID: 27423 Updated by: [EMAIL PROTECTED] 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