thanks for replying, I tried:
but the problem is still on
The problem is that :
When I browse to a.php or c.php in the same folder with a.php, I can prrint $_Cookie['user']
but when I navigate to b.php in other folder, I echo $_Cookie['user'] , it produce this :
Notice: Undefined index: user in D:\xampp\htdocs\gui\createGUI.php on line 290
I know that it's because the cookie['user'] is not set, but after that I go back to a.php, I can print it out, that means it's set.
So what 's wrong?
any problem may be?