> imperfect, workarounds): Is there a natural, server-side way to get
> the requested URL in CFMX? (A yes or no answer would be fine ;-)
To the best of my knowledge, there's no single variable available within
CFMX that contains the entire URL as requested by the user. However, as you
mentioned, every portion of the URL is available from specific CGI
variables.
It's worth pointing out that the browser never sends the entire URL within
its request to the server. For example, if you request the URL
http://www.foo.com/bar.cfm?baz=bat, the browser would ask the OS to resolve
the IP address for www.foo.com, then open a connection on port 80 to that IP
address, sending a request like this:
GET /bar.cfm?baz=bat
Host: www.foo.com
...
Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
voice: (202) 797-5496
fax: (202) 797-5444
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

