I added a hidden field to an external login form that sets a variable to the URL of the original referring page. I then added that URL to the list of acceptable global variables. And, finally, tweaked the standard redirect page to use that url IF that variable is set. This way, a user can login anywhere in the site and not get pushed back to the login page, but the actual page where they clicked "login". Make sense?
|