cgi concurrency approaches?

Rene Pijlman at
Fri Jan 23 11:04:47 CET 2004

Paul Rubin <>:
>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).

René Pijlman

More information about the Python-list mailing list