Hello,
I’m encountering a strange bug. Here is what I’m doing.
I have private documents links on public pages. When a user clicks on a link for a private document, the login dialog comes up.
I pass along the document Id as an argument to the URL in order to redirect the user to the document he/she click on upon successful login.
I used a snippet [[GetArticleID]] to return the document Id as follow
<?php
return = (int) $_GET['documentID'];
?>
The WebloginPE call is a follow:
[!WebLoginPE? &type=`simple` ®Type=`verify` &loHomeId=`20` &liHomeID=`[[GetArticleID]]` &loginFormTpl=`FormLoginPE` !]
The snippet [[GetArticleID]] returns the proper document ID but upon successful login the user is not redirect to that document Id. I must be doing something really stupid... Does anyone know what’s happening?
Thanks a lot...