Hi I want users to be able to click a link to a page that is restricted and once they login they are still taken to that page without having to navigate to it.
Any ideas?
Thanks
Continue to page after login
Moderator: General Moderators
Code: Select all
$_SERVER['HTTP_REFERER']Sending the HTTP_REFERER field is optional, you cannot rely on it.NonStopableForce wrote:-NSFCode: Select all
$_SERVER['HTTP_REFERER']
Or set a Temp Session Var, or have it go to login.php?Back=home.php or something similar... if you dont want to rely on Referer...onion2k wrote:Sending the HTTP_REFERER field is optional, you cannot rely on it.NonStopableForce wrote:-NSFCode: Select all
$_SERVER['HTTP_REFERER']
-NSF