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 : ".$_

[PHP] losing session variable

2007-05-06 Thread Alain Roger
Hi, I have the following code : session_start(); $_SESSION['username']=$myusername; $_SESSION['Localization'] = $lang; header("Location: https://".$_SERVER['SERVER_NAME'].$path_adm_files."/modules/welcome/welcome.php"); if i check before header command what is the value of $_S

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

2001-11-10 Thread Herb Wiser
ride automatic > cookie handling" > everything worked! > > hope it help, > py > > > > > > - Original Message - > From: "Herb Wiser" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Thursday, November 08, 2001