In processing an HTML form, I need to get a userID field from a cookie from the client's browser. The cookie is created at the front-door of the site where the user can login. But the user could come directly to this HTML form, bypassing the login. So I see situations where the cookie doesn't exist. My question is when I process the form and the cookie doesn't exist, how can I get the user to login (or register) and afterwards, continue to process the original HTML form. I thought of having my script create a dynamic form with hidden fields, going to a separate script to handle login/registration and setting up the cookie and then possibly handing the hidden field information back to the original script to process, but that seems messy (or at least I've got a hunch that there's a better way). I don't know much about the production environment (I just have FTP access), but I do know it doesn't support mod_perl. Thanks in advance! Jason