before i thought that cookie existed in the same site can be accessed anywhere in the site...
I discovered that cookie doesnt work if you work outside the directory where the cookie is set.
for the cookie 'user_id' i set it in a login page under a login directory
all the pages requires to look at this user_id cookie
if i do $COOKIE['user_id'] is the login directory is ok..
but outside that directory $COOKIE['user_id'] is blank..
is there a way of reading cookie i set in the login directory?