I am interested in how 'response.redirect' works in IIS6.0
with a URL of the form shown below.
eg
response.redirect "
does the server lookup the IP address, or does it send back the URL to the browser and the browser then looks it up and connects?
I've never thought of how this works before, but I have a problem where the browser appears to 'change sites' from a test site mapped to the URL using an entry in the client host file, to the live site that is picked up if there is no local host file override. I thought the response (or maybe server) redirect might be the cause of this, with the server retrieving the live IP address via the DNS, but a colleague tells me it can't be as the redirect simply sends the redirect URL back to the client for it to connect through the browser.
TIA
John
with a URL of the form shown below.
eg
response.redirect "
does the server lookup the IP address, or does it send back the URL to the browser and the browser then looks it up and connects?
I've never thought of how this works before, but I have a problem where the browser appears to 'change sites' from a test site mapped to the URL using an entry in the client host file, to the live site that is picked up if there is no local host file override. I thought the response (or maybe server) redirect might be the cause of this, with the server retrieving the live IP address via the DNS, but a colleague tells me it can't be as the redirect simply sends the redirect URL back to the client for it to connect through the browser.
TIA
John