I figured this will be a helpful post (especially to me right now!) and I have not seen it after searching.
First of all, we are using Magento 1.4 - so that may determine capabilities in this case.
I can successfully have Magento redirect to a specific page after login by passing:
/referer/{base64_encoded string for the URL}/
in the query string, and it redirects there just fine after I login.
But, what about a new user? They click on "Create Account", which is a new URL (at least in 1.4), and Magento appears to lose the referer
through the navigation process. I.e., after I submit my new account info, I'm redirected not to the desired URL, but to admin home page.
What is the correct way to do this? And if it can't be done (which I would find troublesome) is there a decent workaround?