For a web application using Mason/mod_perl/Apache 1, I have the need to have a few variables that are persistant for each request (unlike sessions, where only requests by the same user see this data). I want to keep these variables in memory, without using a database or a file.
Initially, I thought it'd be trivial with mod_perl, but I haven't been able to come up with a way to do it. Might be related to my noticing that my Perl interpreters do not seem to be reused at all by Apache –– anything placed in a %once block in Mason seems to be executed for each request.
Any hints?
In reply to Persistant data with Mason by crenz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |