News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Getting $_SESSION['login_url'] to work?

Started by aldo, December 30, 2008, 11:23:59 PM

Previous topic - Next topic

aldo

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?

greyknight17

Is this issue resolved?

If not, is using SSI an option? If so, how about something like the following:

<?php
include('SSI.php');

ssi_login('http://www.yoursite.com');

?>

Advertisement: