in reply to CGI scripting and multiple processes
If your real critierion for expiration is time, then a system that uses time instead of number of uses sounds more applicable