in reply to Sessions with perl cgi

How about using the address of your NIC and appending the time? That will give you a unique identifier that is hard to break.