php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38738 infinite loops causes wait condition to other pages having session_start()
Submitted: 2006-09-07 06:57 UTC Modified: 2006-09-07 07:34 UTC
From: awahid at gmail dot com Assigned:
Status: Not a bug Package: Session related
PHP Version: * OS: *
Private report: No CVE-ID: None
 [2006-09-07 06:57 UTC] awahid at gmail dot com
Description:
------------
/* run the code to understand better */

<?php

session_start();

session_unset();

$_SESSION['ObjJab']="okay";

ob_start();



	?>

	<a href="otherPage.php" target="_blank">Go</a>

	<?php

echo str_pad('',4096)."\n";	

ob_flush(); flush();	

while(1){
}
?>

/*------------------------otherPage ----------- */
<?php
session_start();

print "[[[[[".$_SESSION['ObjJab']."]]]]]";

?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-07 07:34 UTC] helly@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Close the session early using session_close().
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 21:01:30 2024 UTC