Link Details

Link 7415 thumbnail
User 111696 avatar

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.
  • 10
  • 0
  • 1098
  • 225

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (10)



Voters Against This Link (0)