In my website, if the user wants to see more details about the page he has to be registered before.
So, if the user clicks the "More Details" link. I am checking whether the user is already logged in or not.
If he has already logged in I am forwarding him to details page.
But if he has not logged in before, I am showing up a login page using modalpanel. After he logged in I have to forward him to details page.
And, here is the issue for me,
Here the user needs to click the link again after logged in.
How can I forward to the details page after the user logged in.