simple question:
how to find the location (url) where a user came from before accessing my page?
and
how to find the locati
If the from page and destination pages are made by you, You can send the source page's url within GET or POST method and grab it in the destination and redirect user back to that url.