Not being a rocket scientist, I've had to rely on CGI.pm when I have problems with my crumby cookies. I couldn't see any glaring errors with your code on first glance, though... Tim