Stop waiting for the other guy to do it. Login and vote now.
By bloid
via rubythis.blogspot.com
Published: Nov 22 2006 / 11:57
While working on an application, I was using a class variable to cache access rights throughout the duration of a users session. I did not want to cache on a session variable, so was using a class variable. This technique worked nicely for a single web user and during testing, but failed miserably with two or more users.
Add your comment