Re: [PHP] session_destroy causes backspace on IE

2003-10-25 Thread bill
Aha, I'm using PHP 4.1.2 with trans-sid enabled for browsers that don't use cookies. Now that I know where to look, I found that putting ob_start() at the beginning seems to help. kind regards, bill David Otton wrote: On Fri, 24 Oct 2003 15:42:45 -0400, you wrote: Tried breaking up the e

Re: [PHP] session_destroy causes backspace on IE

2003-10-24 Thread David Otton
On Fri, 24 Oct 2003 15:42:45 -0400, you wrote: >Tried breaking up the echo, but still didn't work. What PHP version are you using? 4.10, maybe? http://bugs.php.net/bug.php?id=14695 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session_destroy causes backspace on IE

2003-10-24 Thread bill
Hi Eugene, Tried breaking up the echo, but still didn't work. "; echo "logout"; echo ""; echo ""; echo "Logout page"; $_SESSION = array(); session_destroy(); echo "Session destroyed\n"; echo " \n"; ?> I know it is the session_destroy() command because commenting it out the problem goes away. ki

Re: [PHP] session_destroy causes backspace on IE

2003-10-24 Thread Eugene Lee
On Fri, Oct 24, 2003 at 01:24:32PM -0400, bill wrote: : : The following code causes IE to break the tag. : : : logout : : : Logout page"; : $_SESSION = array(); : session_destroy(); : echo "Session destroyed\n"; : echo " : \n"; : ?> : : View/Source in IE: displays this (note broken): : :