website membership LOGIN_POST_LOGIN_URL

2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: March 4, 2010   (RSS)

By markr - March 3, 2010

Is there a way to set different url's rather than just the one set in: $GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL']

If I'm not mistaken, user:
1. tries to access a secure page,
2. is redirected to the login page,
3. logs in,
4. is redirected to the global post_login_url,
5. then tries to access the secure page again.
6. sees secure page

Would like this better:
1. tries to access a secure page,
2. is redirected to the login page,
3. logs in,
4. sees secure page.

Re: [markr] website membership LOGIN_POST_LOGIN_URL

By Dave - March 4, 2010

Hi markr,

I'm not sure if it's fully tested, but I think we may have some code in there for that. Try just setting:

$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL'] = '';

Let me know if that works for you.
Dave Edis - Senior Developer
interactivetools.com