I'd recommend looking at some of the prebuilt (and already very round) methods for implementing sessions,
such as CGI::Session, Apache::Session, and Apache::AuthCookie. (You are using apache, aren't you? :) ).
Hope this helps
davis
Is this going out live?
No, Homer, very few cartoons are broadcast live - it's a terrible strain on the animator's wrist