Generally I use process id + timestamp to create the unique key.like, $uniq_key = $$ . time();
----- original Nachricht -------- Betreff: cgi app runtime unique identifier. Gesendet: Sa 01 Sep 2007 17:22:00 CEST Von: "Tim Bowden"<[EMAIL PROTECTED]> > I'm writing a small cgi app that takes an uploaded file, stores it on > disk and does some operations to it. To avoid multiple instances > clobbering each other, I think I need to find a unique key to use in > creating a dir specifically for use by that instance. Can anyone point > me in the right direction here? It's not something I've done before and > I don't want to go off half cocked with something that will lead to > intermittent failure. There's no user login etc so no options there I > can use. > > Thanks, > Tim Bowden > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > http://learn.perl.org/ > > > --- original Nachricht Ende ---- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/