1👍
✅
By checking the referer, the new webpage can see where the request
originated.
req.META['HTTP_REFERER']
should do the trick.
Source:stackexchange.com