Locking with CGI::Session

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Anyone have any ideas on how to do locking with CGI::Session.  My
problem is that multiple CGIs are getting kicked off in parallel for
the *same* session [filling, in parallel, multiple panes in a <FRAME>]
and they're stepping on each other.  What I need is some way, on the
entry to my CGI to have it _wait_ if some other CGI is using the same
session [none of the CGIs runs for a long time, so this won't be a
performance issue].  Is there some way to do this short of brute force
[like putting some kind of a lockfile for the session in the
filesystem or something like that]?  Would switching to
Apache::Session deal with this problem??  THANKS!

Site Timeline