I'm using the php function "ssi_login" on one of my pages in joomla.
This seems to work, however the URL redirect feature just doesn't work!
For example, I include this code in joomla:
require_once("/path/SSI.php");
ssi_login('http://redirectpage');
There are many ways to do this: a custom module / in your template / using a php-code module like 'Jumi'. You can login just fine, but you will be directed to the forum, not the specified url.
Somehow it must loose the variable '$_SESSION['login_url']. This is where the redirection url is stored, but once you are logged in, it must be gone or something.
Any other ways to solve this?