reference/network/functions/setcookie.xml
5c1ccc6e24e5d470e75ef0a5887c2ff583266375
...
...
@@ -170,6 +170,14 @@
170
170
<literal>samesite</literal> element is omitted, no SameSite cookie
171
171
attribute is set.
172
172
</para>
173
+
<para>
174
+
<note>
175
+
<para>
176
+
To set a cookie that includes attributes that aren't among the keys listed,
177
+
use <function>header</function>.
178
+
</para>
179
+
</note>
180
+
</para>
173
181
</listitem>
174
182
</varlistentry>
175
183
</variablelist>
...
...
@@ -222,7 +230,7 @@
222
230
<refsect1 role="examples">
223
231
&reftitle.examples;
224
232
<para>
225
-
Some examples follow how to send cookies:
233
+
The following examples demonstrate some ways to send cookies.
226
234
<example>
227
235
<title><function>setcookie</function> send example</title>
228
236
<programlisting role="php">
229
237