in reply to Persistent memory with mod_perl and a module.

Yeah, i love perl. This persistent memory can be achieved with mod_perl. The key is calling the module in your Apache conf file. That's all it takes. I couldn't believe how easy it was. Now when you call the counter you get incremental values.
PerlRequire /your/mod/perl/ModCounter.pm
updateAfter my counter reached 101 it reset to 1. ;)