ID: 14695 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Old Status: Feedback Status: Open Bug Type: Session related Operating System: FreeBSD4 PHP Version: 4.1.0 New Comment:
If the session.use_trans_sid set to 0, there is no error occure. Should I rewrite all my scripts to fit this ? Previous Comments: ------------------------------------------------------------------------ [2001-12-26 00:15:57] [EMAIL PROTECTED] Sorry for inconplete question. I would like to know if you don't use --enable-trans-sid in your configure line, does this problem stop or not. ------------------------------------------------------------------------ [2001-12-25 23:11:12] [EMAIL PROTECTED] sorry, "walk around". ------------------------------------------------------------------------ [2001-12-25 23:10:10] [EMAIL PROTECTED] yes sure. All ohter functions work fine for me till now. Moving the session_destroy() to the end of all scripts seems to be a work around. ------------------------------------------------------------------------ [2001-12-25 22:17:23] [EMAIL PROTECTED] Are you using and enable trans-sid? ------------------------------------------------------------------------ [2001-12-25 21:44:59] [EMAIL PROTECTED] Take a look at this: <?php session_start() ; $_SESSION["username"] = "abc" ; echo "<p>First Line Here</p>" ; session_destroy() ; echo "<p>Second Line Here</p>" ; ?> The output source code becomes : <p>First Line Here</<p>Second Line Here</p>p> ------------------^^^----------------------^^ ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14695&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]