I got problems managin cookies.
I got 2 php pages.
page 1
Code: Select all
$expire=time()+60*60*24*30;
echo setcookie("PSA_AC", "2", $expire);Code: Select all
<meta http-equiv="refresh" content="0;url=http://psadip/home/page2.php">Code: Select all
<?php
print_r($_COOKIE);
echo $localremoto;
exit();
If i print_r($_COOKIE) the only thing I get is the PHPSESSID but not my cookie.
If before redirecting, in the same HTML I print_r($_COOKIE); exit(); the cookie will be retrieved.
Any Ideas?
Tnx!