Stuart, I am unsure it is right to use cookies to remember the form redirect url. Traditionally, web containers (Tomcat and Jetty) have used http session to remember the redirect url. If an user has turned off cookies, then it may not work. Regards, Anil