-
Getting the current page
I have admin rights on one page. If the user goes to this page and is not logged in as admin a login button will show so you can go to the login in page. When the user logs in I want to be able to direct them to the previous page. How can I obtain the current page so I can reference the user back to the admin page after logging in, thanks.
Matthew
-
-
Well you already know which page the user is trying to access or they wouldnt be on the log in page... or is the page different for each user?