I've seen a few newsgroups that ask this question, but have yet to find\na good answer. Does anyone know of a good way to store a variable in\nmemory that can be shared by all sessions in Rails? JSP/ASP/and I\nbelieve even ColdFusion have the concept of an "Application variable"\nwhich you can populate at runtime and share amongst all pages/sessions.\n\nI've seen some say this can't be done, and others say that it can with\na reference to some homebrew caching mechanism. Are there any thoughts\nin this group? I've seen several ways to cache a page, but I don't\nwant to do that - I simply want an array stored in memory because I'm\ngoing to access it (for reading) *a ton* and it's going to have the\nsame data in it for all users. I will update it maybe every few\nminutes, but plan on reading from it every few seconds or even more\nfrequently depending on traffic.\n\nThanks!\nTom\n\nP.S. On other groups I've seen this concept referred to as an\n"application hash" or "global application variable".