summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-03-23 14:05:16 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-03-23 14:05:16 +0100
commit2b2b7cc5a2db5c6c77aba594f3de424286847a79 (patch)
tree0918d7f20e92baa1e011d4a9ec523c909b654626
parent5636709a4ae83c1a93ab82f617cd523d3cecc502 (diff)
added a note of clarity that cookie prefixes need to be included when get_cookie is used.
-rw-r--r--user_guide/helpers/cookie_helper.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/user_guide/helpers/cookie_helper.html b/user_guide/helpers/cookie_helper.html
index 2ecb72177..01d8e78ab 100644
--- a/user_guide/helpers/cookie_helper.html
+++ b/user_guide/helpers/cookie_helper.html
@@ -109,7 +109,7 @@ zero the cookie will only last as long as the browser is open.</p>
<h2>get_cookie()</h2>
-<p>Lets you fetch a cookie. The first parameter will contain the name of the cookie you are looking for:</p>
+<p>Lets you fetch a cookie. The first parameter will contain the name of the cookie you are looking for (including any prefixes):</p>
<code>get_cookie('some_cookie');</code>
@@ -117,10 +117,7 @@ zero the cookie will only last as long as the browser is open.</p>
<p>The second optional parameter lets you run the data through the XSS filter. It's enabled by setting the second parameter to boolean TRUE;</p>
-<code>get_cookie('some_cookie', TRUE);</code>
-
-
-
+<p><code>get_cookie('some_cookie', TRUE);</code></p>
<h2>delete_cookie()</h2>
<p>Lets you delete a cookie. Unless you've set a custom path or other values, only the name of the cookie is needed:</p>