Author Topic: Getting $_SESSION['login_url'] to work?  (Read 1548 times)

Offline aldo

  • Sophist Member
  • *****
  • Posts: 1,356
  • Gender: Male
Getting $_SESSION['login_url'] to work?
« on: December 30, 2008, 11:23:59 PM »
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?

Offline greyknight17

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 14,890
  • Gender: Male
    • Kevin's Resource Center
Re: Getting $_SESSION['login_url'] to work?
« Reply #1 on: January 16, 2009, 08:54:04 PM »
Is this issue resolved?

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

Code: [Select]