Storing config values in-memory between sessions
by Mahesh Khambadkone other posts by this author
Oct 28 2009 9:14PM messages near this date
Re: note_basic_auth_failed failed
|
Re: Storing config values in-memory between sessions
Hi,
We run a script, server.cgi, running on a Apache2 instance using
mod_perl support for 'older' CGI scripts.
server.cgi is called by multiple individual clients at a time,
returning an XML. It contains some config values that change from
time to time (once a week) e.g, campaign end date
As it seldom changes, we dont want to use a database for these 'config
values', yet need a way to retain in memory and dirty its' value from
time to time.
Confused slightly by the Apache phases and how it plays with older CGI
scripts, what would be the best way to implement this in-memory cache
that can be dirtied from time to time?
Regards,
Mahesh
Thread:
Mahesh Khambadkone
Perrin Harkins
Torsten Foertsch
Alan Young
|