| “Remember what the Dormouse said. Feed your head. Feed your head.” Jefferson Airplane | |||||||||
![]() |
|||||||||
“a resource for web developers...” |
|||||||||
Up to JavaScript: Cookies overview page
Example of storing two (2) values in a single cookie. Using ':' and '|' characters as separators to differentiate between the descriptors and the values, for example "name:eric|species:a penguin".
Use of 'escape()' to clean the cookie values.
Reading the descriptors and values from the transient cookie.
Copyright © 2006-2012 justfigures.co.uk