I'm converting a few CGI scripts that used the PID as a cyclical unique number (in concert with TIMESTAMP - so it was TIMESTAMP.PID).
Our goal is to find a replacement function that is extremely cheap (cheaper than say, random(1000000)) and will never repeat. Any ideas? Has anyone else faced this problem? tia David