Login Destination after user logs in.

Permalink
Is there a way to add an option to the Login Destination that takes the user back to the page that sent them to log in first?

Such as, if they selected to post on the blog, they would be sent to the page they expected to end up at after logging in, or if they clicked on a link, it would send them back to the page they were on when they selected to login.

ThomasJ