allow client code to access redirection url from session