I need to get the url base exactly as entered in the request that came to the server.
If the url was http://localhost/index.cfm
I need to get the http://localhost
out of it.
I can tokenize it myself to get the base, but I don't know how you get the URL.
I can't use cgi.server_name as it gives me the DNS name of the host. The user might enter it as a "localhost" or asa a ip_adress and I need to use it the same way, otherwise the session variables will not be avaialble.