ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-mod_perl
perl-mod_perl
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved