How to: Redirect to requested page after login

Sometimes, in our AppGini applications we’d like to share data with co-workers or other users by sending a link via email, for example. Unfortunately, this does not work as expected, by default. I am going to show a very simple, solution, based on our AppGini Helper Javascript Library. AppGini default behaviour By default, if we are not logged in already, AppGini redirects us to the login-page first, then to the homepage (index.php) after login. This means the user will not see the requested page unless he/she clicks the link again (or copies the url into the browser’s address bar). AppGini …