get_cookie($index[, $xss_clean = NULL])
| Parameters: |
|
|---|---|
| Returns: |
The cookie value or NULL if not found |
| Return type: |
mixed |
This helper function gives you friendlier syntax to get browser cookies. Refer to the Input Library for detailed description of its use, as this function acts very similarly to CI_Input::cookie(), except it will also prepend the $config['cookie_prefix'] that you might’ve set in your application/config/config.php file.
Please login to continue.