vrana Fri Mar 23 15:03:09 2007 UTC
Modified files: /phpdoc/en/reference/network/functions setcookie.xml Log: Clarify that secure relates to client (bug #40778) http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/network/functions/setcookie.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/network/functions/setcookie.xml diff -u phpdoc/en/reference/network/functions/setcookie.xml:1.4 phpdoc/en/reference/network/functions/setcookie.xml:1.5 --- phpdoc/en/reference/network/functions/setcookie.xml:1.4 Fri Feb 9 07:28:30 2007 +++ phpdoc/en/reference/network/functions/setcookie.xml Fri Mar 23 15:03:09 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <!-- splitted from ./en/functions/http.xml, last change in rev 1.2 --> <refentry id="function.setcookie"> <refnamediv> @@ -136,9 +136,11 @@ <entry><parameter>secure</parameter></entry> <entry> Indicates that the cookie should only be transmitted over a - secure HTTPS connection. When set to &true;, the + secure HTTPS connection from the client. When set to &true;, the cookie will only be set if a secure connection exists. The default - is &false;. + is &false;. On the server-side, it's on the programmer to send this + kind of cookie only on secure connection (e.g. with respect to + <literal>$_SERVER["HTTPS"]</literal>). </entry> <entry> &true; or &false;