Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started
by Ben Forta, Raymond Camden, Charlie Arehart
Sessions and the <cflock> Tag
Just as it’s possible to run into race conditions with application variables, it’s also possible for race conditions to crop up when using session variables. In general, it’s much less likely that race conditions will occur at the session level than at the application level, as there is usually only one page request coming from each session at any given time. Even though it’s unlikely in the grand scheme of things, it still is quite possible that more than one request could be processed from a session at the same time. Here are some examples:
Pages that use frames can allow a browser to make more than one page request at the same time. If, say, a frameset contains three individual frame pages, most browsers will ...
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