I have made a CF that is now my default user registration form and need to know how to redirect the user back to the restricted item they were attempting to access prior to registering.
I have been searching since last night and cannot seem to locate any solutions.
ANY help would be much appreciated.
TIA
I have been searching since last night and cannot seem to locate any solutions.
ANY help would be much appreciated.
TIA
Hi jallencecil,
You can try using $_SERVER['HTTP_REFERER'] to see if this contains the correct referring URL. Or if that doesn't work you could use a code snippet on your pages to save the URL so that it can be referenced later - how to do that depends a bit on how you are doing the re-direction.
Bob
You can try using $_SERVER['HTTP_REFERER'] to see if this contains the correct referring URL. Or if that doesn't work you could use a code snippet on your pages to save the URL so that it can be referenced later - how to do that depends a bit on how you are doing the re-direction.
Bob
This topic is locked and no more replies can be posted.
