I have this code, and the problem is that IE7 don't get a COOKIE value but firefox work
PHP Code:
<?
header("Cache-control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0, private"); session_write_close(); session_start();
if (!isset($_COOKIE['emeeting'])) setcookie("emeeting[username]", "alessio", time()+3600); ?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head>
<body><? print_r($_COOKIE['emeeting']); ?> </body> </html>
|