From e334c472fb4be44feec3a73402fc4a2b062cbfc0 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 21 Oct 2006 19:44:22 +0000 Subject: --- user_guide/helpers/cookie_helper.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user_guide/helpers/cookie_helper.html') diff --git a/user_guide/helpers/cookie_helper.html b/user_guide/helpers/cookie_helper.html index 1e352fc11..ec27e5485 100644 --- a/user_guide/helpers/cookie_helper.html +++ b/user_guide/helpers/cookie_helper.html @@ -12,7 +12,7 @@ @@ -99,7 +99,7 @@ set_cookie($cookie);

Only the name and value are required.

The expiration is set in seconds, which will be added to the current time. Do not include the time, but rather only the -number of seconds from now that you wish the cookie to be valid. If the expiration is set to +number of seconds from now that you wish the cookie to be valid. If the expiration is set to zero the cookie will only last as long as the browser is open.

To delete a cookie set it with the expiration blank.

For site-wide cookies regardless of how your site is requested, add your URL to the domain starting with a period, like this: .your-domain.com

@@ -132,7 +132,7 @@ zero the cookie will only last as long as the browser is open.

delete_cookie("name"); -

This function is otherwise identical to set_cookie(), except that it does not have the value and expiration parameters. You can submit an array +

This function is otherwise identical to set_cookie(), except that it does not have the value and expiration parameters. You can submit an array of values in the first parameter or you can set discreet parameters.

delete_cookie($name, $domain, $path, $prefix) -- cgit v1.2.3-24-g4f1b