Alright after working on a login page and completing it, the requirements for my project have changed. I am no longer using FormsAuthentication to see if someone is logged in. Instead I am putting a passcode as the query. If the passcode exists then I let them continue to the page. If it does not exist I need to redirect them to a page so that they can enter the passcode. But first I need to capture the returnurl. Everything I read says returnurl has to do with FormsAuthentication, so I cannot find out how to capture the returnurl. Any help please?