From 2b2b7cc5a2db5c6c77aba594f3de424286847a79 Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Sun, 23 Mar 2008 13:05:16 +0000 Subject: added a note of clarity that cookie prefixes need to be included when get_cookie is used. --- user_guide/helpers/cookie_helper.html | 7 ++----- 1 file 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.

get_cookie()

-

Lets you fetch a cookie. The first parameter will contain the name of the cookie you are looking for:

+

Lets you fetch a cookie. The first parameter will contain the name of the cookie you are looking for (including any prefixes):

get_cookie('some_cookie'); @@ -117,10 +117,7 @@ zero the cookie will only last as long as the browser is open.

The second optional parameter lets you run the data through the XSS filter. It's enabled by setting the second parameter to boolean TRUE;

-get_cookie('some_cookie', TRUE); - - - +

get_cookie('some_cookie', TRUE);

delete_cookie()

Lets you delete a cookie. Unless you've set a custom path or other values, only the name of the cookie is needed:

-- cgit v1.2.3-24-g4f1b