Return to restricted page with anchor ID?
I have a restricted page (myrestrictedpage.php) with an anchor ID (myanchor) in it.
If the user tries to get to this page without logging first, he will be redirected to the login page (ok).
Once he logs in, he will be redirected to myrestrictedpage.php (ok).
But I would like the user to go to this link: myrestrictedpage.php#myanchor after succesfull login.(KO)
The anchor is not honored and the user is redirected to the top of myrestrictedpage.php.
How can I make the redirect to work the way I need and redirect the user to the anchor?