Je travaille sur un projet à plusieurs.
J'ai un soucis super bizarre.
J'ai des variables sessions qui sont transmises correctement sauf sur un PC quand il utilise firefox ou chrome.
Chez nous quand nous utilisons firefox et chrome ca marche.
Vous avez des idées?
Pilou
Edit: voici le code
<?php
session_start();
echo $_SESSION['login']."login <br/>";
echo $_SESSION['password']."password <br/>";
require_once "src/phpfreechat.class.php"; // adjust to your own path
$params["serverid"] = md5(__FILE__);
$params["refresh_delay"] = 2000; // 2000ms = 2s
$params["smileytheme"] = "msn";
$params["smileypath"]=dirname(__FILE__)."/../msn/smileys";
//connexion avec le session login
if(!isset ($_SESSION['login']) /*&& empty($_SESSION['login'])*/)
{
header('location:https://www.iatus.org/iatusnew/iatus/php/gestionnaire%20v1/ldap_v2/Ldap/LoginForm.php');
}
else
{
$params['nick'] = $_SESSION['login'];
$chat = new phpFreeChat($params);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>phpFreeChat demo</title>
</head>
<body>
<?php $chat->printChat(); ?>
</body>
</html>
<?php
}
?>