Wie setze ich operagemäß Cookies?
Phil
- php
Hi ihrs!
Ich habe ein kleines Problem: Opera mag meine Cookies nicht und nimmt sie nicht an.
Ich habe da mal in der Knowlegde-Base geschaut und kam auf folgendes:
Web developers should note that Opera does not store cookies sent from files loaded with the "file://" protocol, e.g. local files on your hard disk. The reason is that such cookies are considered a privacy risk.
Soweit ich das versteh, nimmt Opera keine Cookies an, wenn die übers file-Protokoll geschickt werden.
Ein setcookie sieht bei mir so aus:
<?php
$cookie=setcookie("yubbcomm",$array["username"]."|".$array["userpass"]."|".$array["usermail"]."|".$array["id"],time()+60*60*24*365,"http://www.yubb.de");
?>
Was müsste ich da anders machen?
Hi,
Web developers should note that Opera does not store cookies sent from files loaded with the "file://" protocol, e.g. local files on your hard disk. The reason is that such cookies are considered a privacy risk.
Soweit ich das versteh, nimmt Opera keine Cookies an, wenn die übers file-Protokoll geschickt werden.
Ein setcookie sieht bei mir so aus:
<?php
$cookie=setcookie("yubbcomm",$array["username"]."|".$array["userpass"]."|".$array["usermail"]."|".$array["id"],time()+60*60*24*365,"http://www.yubb.de");
?>
Was müsste ich da anders machen?
Die php-Seite nicht über file:// aufrufen.
cu,
Andreas
Die php-Seite nicht über file:// aufrufen.
Ach nee, das habe ich auch schon gewußt...
Nein, schau es dir online unter http://www.yubb.de/index.php?site=user_login an... Musst dich natürlich vorher reggen ;)
Nach dem Einloggen funzt es (die Navogation wird geändert, durch eine Session)... Aber n Cookie wird nicht gesetzt...