Logoff Re-Direct Doesn't Work

By Perchpole - February 10, 2015

Update -

After several more tests I've narrowed the problem down to $_SERVER['HTTP_REFERER']. If this remains in the code on line 184 the logoff action simply leaves the user on the same page.

However, if I change the code to this...

$logoffUrl = coalesce($GLOBALS['WEBSITE_LOGIN_POST_LOGOFF_URL']);

...it works as expected.

:oS

Perch

By claire - February 11, 2015

Hi Perch - thanks for this. I'll take a look at the WSM code and see if there's a reason why this doesn't work as intended.

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By Deborah - March 10, 2015

Hi, Claire.

I experienced the same WSM issue, but Perch's suggestions got things working for me. (Thanks so much, Perch!)

~ Deborah