in reply to time in seconds
How about $t = time-$deltasecs . "|" . int(rand(10e5));
overkill: Apache::Session::Generate::MD5