Re: [PHP] losing session variable

2007-05-07 Thread Richard Lynch
On Sun, May 6, 2007 11:29 am, Alain Roger wrote: > Hi, > > I have the following code : > > session_start(); >> $_SESSION['username']=$myusername; >> $_SESSION['Localization'] = $lang; Add this: session_write_close(); before you do header re-direct. >> header("Location: >> https:

Re: [PHP] losing session variable

2007-05-07 Thread Oscar Gosdinski
On 5/6/07, Alain Roger <[EMAIL PROTECTED]> wrote: if i check before header command what is the value of $_SESSION['username'], i get the right value. however, if i place on the first line of welcome.php file the following code : echo "1. Before session"; > session_start(); > echo"Username : ".$_

Re: [PHP] Losing Session Variable in IE Only?

2001-11-10 Thread Herb Wiser
I was doing some stupid shit like doing a session_unregister() on my variables, then later, after successful login, redoing a session_register(). When I made a separate logoff.php page to unregister the variable, then a redirect back to index.php to allow users to login again, everything worked f