I have a Rails application where I use some global variables to show some results on a page based on dates. The date range variables are global. Now the problem is when the application is accessed by more than one person simultaneously, the global variables are shared and and not unique for each instance of the application.
Can someone point me to a good direction of handling variables for each instance of the application.