In SMF you are supposed to be able to set $_SESSION['login_url'] and then once you login you will be redirected back to the place in $_SESSION['login_url']
However the thing is, on my main site I have it set $_SESSION['login_url'] but when I login it doesn't redirect me back to the place that is in $_SESSION['login_url']
Anyone know why this might be happening?