I tried to set cookie from a subdirectory for the whole domain, but it
didn't work.

 

>From http://domain/accout/login.php, if did setcookie('logged_in", "1",
$path="/");, like the documentation said too.

 

But it still set it for the entire domain.  I also tried:
setcookie('logged_in", "1", $path=".."); setcookie('logged_in", "1",
$path="/.."); and  setcookie('logged_in", "1", $path="/../")

 

Does anyone know what I'm doing wrong here?

 

Michele

 

_______________________________________________
New York PHP User Group Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

http://www.nyphp.org/show_participation.php

Reply via email to