Cookie 3.1

Posted on  by 

Cookie.1Cookie 3.1Cookie 3.1Yummly

The Cookie Helper file contains functions that assist in working withcookies.

  1. See full list on github.com.
  2. Download the code or configure your cookie consent popup with just a few clicks and in less than 5 minutes.
  3. Round Cookie Cans. Size 1 - 6-11/16' dia. Size 5 - 9-7/8' dia. Size 115 - 9-7/8' dia. Upright Round Cans.
  4. 2 1/2' x 3 1/4' Grease Resistant Cookie Boards (100 Pieces) GRCB2 $13.46 As low as $7.66 bulk price (43% Off) Add to Cart.

Round Cookie Cans Size 1 - 6-11/16' dia. Size 2 - 7-3/16' dia. Size 3 - 8-1/8' or 7-7/8' dia. Size 5 - 9-7/8' dia. Size 115 - 9-7/8' dia. Upright Round Cans Quart & 1/2 Quart 1/2 Gallon.

This helper is loaded using the following code:

The following functions are available:

set_cookie($name[, $value = '[, $expire = '[, $domain = '[, $path = '/'[, $prefix = '[, $secure = NULL[, $httponly = NULL]]]]]]])
Parameters:
  • $name (mixed) – Cookie name or associative array of all of the parameters available to this function
  • $value (string) – Cookie value
  • $expire (int) – Number of seconds until expiration
  • $domain (string) – Cookie domain (usually: .yourdomain.com)
  • $path (string) – Cookie path
  • $prefix (string) – Cookie name prefix
  • $secure (bool) – Whether to only send the cookie through HTTPS
  • $httponly (bool) – Whether to hide the cookie from JavaScript
Return type:

void

This helper function gives you friendlier syntax to set browsercookies. Refer to the Input Library fora description of its use, as this function is an alias forCI_Input::set_cookie().

Food52

get_cookie($index[, $xss_clean = NULL])
Parameters:
  • $index (string) – Cookie name
  • $xss_clean (bool) – Whether to apply XSS filtering to the returned value
Returns:

The cookie value or NULL if not found

Return type:

mixed

This helper function gives you friendlier syntax to get browsercookies. Refer to the Input Library fordetailed description of its use, as this function acts verysimilarly to CI_Input::cookie(), except it will also prependthe $config['cookie_prefix'] that you might’ve set in yourapplication/config/config.php file.

delete_cookie($name[, $domain = '[, $path = '/'[, $prefix = ']]])

Yummly

Cookie 1c

Candy Pie Recipe | Yummly

Parameters:
  • $name (string) – Cookie name
  • $domain (string) – Cookie domain (usually: .yourdomain.com)
  • $path (string) – Cookie path
  • $prefix (string) – Cookie name prefix
Return type:

void

Lets you delete a cookie. Unless you’ve set a custom path or othervalues, only the name of the cookie is needed.

This function is otherwise identical to set_cookie(), except that itdoes not have the value and expiration parameters. You can submit anarray of values in the first parameter or you can set discreteparameters.

Coments are closed