|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
How can you tell what page the user has come from?
Is there something to <cfif isdefined form.submit> that you can use but with pages.
You see I have a login page, it is normally the main page but sometimes people goto it from a search page. I need to know if the user is coming from this search page, therefore I need to find a way of determining what page they came from (as variables will be passed)..can u help? |
|
#2
|
|||
|
|||
|
There should be something in the CGI structure that you can use.
Do a dump on the CGI structure (or turn on all debugging features with CF administrator), look at the CGI variables available with every page request, and perhaps you will see one that suits you. CGI.HTTP_REFERER comes to mind. |
|
#3
|
|||
|
|||
|
there's a variable called HTTP_REFERER
|
|
#4
|
|||
|
|||
|
thanks a lot
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > How can you tell what page the user has come from? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|