At 03:55 25.03.2003, Alexander Weber said: --------------------[snip]-------------------- >I send a secure cookie an it should be available as varible > >setcookie("pbas_usr", $row[usr], time()+600, "", "", 1); > >but the varable is empty. If it send the header without secure flag the >cookie works well > >setcookie("pbas_usr", $row[usr], time()+600); > >Is there a special way to read out secure cookies? --------------------[snip]--------------------
Is your script running under https? From the docs (http://www.php.net/manual/en/function.setcookie.php): "secure" indicates that the cookie should only be transmitted over a secure HTTPS connection. When set to 1, the cookie will only be set if a secure connection exists. The default is 0. Sorry if I'm OT here but you didn't mention https in your posting. -- >O Ernest E. Vogelsinger (\) ICQ #13394035 ^ http://www.vogelsinger.at/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php