Multiple Dimensional Arrays in Cookies
Some people using my scripts are nice enough to provide feedback and suggestions on further uses for the script which they are happy to share with other readers.
Multiple Dimensional Arrays in Cookies
Some people using my scripts are nice enough to provide feedback and suggestions on further uses for the script which they are happy to share with other readers.
Multiple Dimensional Arrays in Cookies
You can use some JavaScript ans a cookie to have something happen the first time someone visits a page but not on subsequent visits.
First Time Only
While it is possible to store some data in cookies to pass from one web page to another there is a limit to how much data that cookies can hold. That’s why using sessions where the cookie only needs to hold the session id is the better option. In this article we look at just [...]
The cookie toolbox that I created goes well beyond just being able to read, write, and delete cookies. It contains code making it easy to save entire arrays into a single cookie and to be able to easily update the array that you have stored in the cookie. This tutorial describes many of the additional [...]
Handling cookies from JavaScript is much easier once you have written functions that take care of reading, writing, and deleting cookies. To provide maximum flexibility in being able to use cookies I wrote a set of these functions that allows entire arrays of data to be stored within a single cookie if you need to [...]