In the purpose of getting access to mydomain.se/ha/ I will set a cookie:
setcookie ("login", "OK", time()+3600, "/ha/");
It looks like the cookie is set since I get the confirmation text (of course
placed inside the codeblock where the cookie is 'set' (?). Probably it just
confirm that it has found ONE hit in the db on the username/password pair).
But, when I try to access any file in mydomain.se/ha/ it fails and the login
script is loaded again (and a look in 'Temporary Internet Files' tells the
cookie doesn't exist). On the local machine (w2k, apache 2) the same script
works ok



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to