Changes

Jump to: navigation, search

PHP and Cookies - Creating, Reading and Writing

31 bytes added, 14:34, 19 March 2009
Cookie Name / Value Pair
=== Cookie Name / Value Pair ===
<google>ADSDAQBOX_FLOW</google>
The first section of the cookie defines the name of the cookie and the value assigned to the cookie. As previously mentioned, both the ''name'' and ''value'' settings can be anything you choose to use. For example, you might want save a user's currency preference - ''currency=USDollars''. This is the only section of the cookie that is mandatory, the rest are entirely optional. Whether or not you use these optional settings depends on your specific requirements. The following settings, therefore, can be omitted from the cookies if they are not required.

Navigation menu