ok... im setting cookies in this file:

root/login.php

i delete them in the same file

root/login.php?logout=true

by simply

foreach ($_COOKIE as $key => $value) {
    setcookie($key, NULL, 1);
}

ok, it all works fine as long as i am in the root dir. opening root/board/index.php will still show me as logged in... i just dont get it, since i made sure to set and also delete the cookies at the lowest hierarchy level to avoid exactly these problems...

any help is appreciated!

sid

    what path and domain are you setting with cookie

      Write a Reply...