Drupal and Login Toboggan -- infinite redirect loop
Posted
by Ian Silber
on Stack Overflow
See other posts from Stack Overflow
or by Ian Silber
Published on 2010-05-18T04:07:23Z
Indexed on
2010/05/18
4:10 UTC
Read the original article
Hit count: 256
I'm getting a redirect loop when using Login Toboggan. It doesn't happen all of the time and I think I've narrowed it down to something with the session, specifically the active-tabs[last-active-href] value.
Since it's intermittent, I was able to print out a session of a working copy and a non-working copy. Here are both:
WORKS -- Array ( [active-tabs] => Array ( [last-active-href] => index ) ) toboggan/denied
DOESN'T WORK -- Array ( [active-tabs] => Array ( [last-active-href] => user/register [user] => user/register ) [wantsEvents] => [wantsResources] => [wantsSupport] => ) toboggan/denied
I've also noticed that if I comment out the following line the redirection loop stops (although no page loads):
$return = menu_execute_active_handler('user/register');
Any ideas? I'm at my wits end.
© Stack Overflow or respective owner