Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started
by Ben Forta, Raymond Camden, Charlie Arehart
Deleting Client Variables
Once set, client variables are stored semi-permanently: they’re deleted only if a user’s browser doesn’t return to your site for 90 days. In the next section, you learn how to adjust the number of days that the variables are kept, but sometimes you will need to delete a client variable programmatically.
Note
It’s important to understand that a client doesn’t have its own expiration date. Client variables don’t expire individually; the whole client record is what expires. So, it’s not that a client variable is deleted 90 days after it is set. Rather, the client variable (and all other client variables assigned to the user’s machine) is deleted after the user lets 90 days pass before revisiting any pages in the application. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access