cgi concurrency approaches?

Rene Pijlman reply.in.the.newsgroup at my.address.is.invalid
Fri Jan 23 11:04:47 CET 2004


Paul Rubin <http://phr.cx@NOSPAM.invalid>:
>I'm wondering if folks here have favorite lightweight ways of dealing
>with concurrency in cgi's.  Take a simple case:
>
>You want to write a cgi that implements a simple counter.  The first
>time it's called, it prints "1".  The next time, "2", etc.
[...]
>Anyone have some simpler approaches?

Use mod_python and keep the counter in a Python variable (if the value
needs not be persistent).
http://www.modpython.org/

-- 
René Pijlman



More information about the Python-list mailing list