Hi,
I'm working on a multi-langage website and i got problem with a fonction
which destroy my session :-(
I got a file which change my langage like this :
/********************************************/
session_start();
if ($_POST['langue']=="us")
$_SESSION['language']="us";
else if ($_POST['langue']=="fr")
$_SESSION['language']="fr";
header("Location: http://".$_SERVER['HTTP_HOST'].$_POST['page_name']);
/*********************************************/
When the header function is called I'm correctly redirected on the right
page but all my session variables are destroyed.
Can you please help me resolving this problem. I've tried directly entering
the path for redirection like that:
header("Location: index.php");
but it's the same problem.
Thanks in advance,
______________________________________
MARC SERRA
MASTER Commerce Electronique
IUP GMI AVIGNON
FRANCE