M
middletree
I have a little snippet of code that looks like this:
strServer = Request.ServerVariables ("server_name")
If strServer = "localhost" then
The purpose of this code is to do one thing when I'm on my development
machine, and another when on production. This is valuabel as it has kept me
from having to change code when uploading from dev to prod.
It was working fine, as recently as two hours ago, and now it doesn't. I do
a response.write and it returns an empty string. I have no idea why, and I
certainly didn't change anything. Anyone have any idea why this could
happen?
strServer = Request.ServerVariables ("server_name")
If strServer = "localhost" then
The purpose of this code is to do one thing when I'm on my development
machine, and another when on production. This is valuabel as it has kept me
from having to change code when uploading from dev to prod.
It was working fine, as recently as two hours ago, and now it doesn't. I do
a response.write and it returns an empty string. I have no idea why, and I
certainly didn't change anything. Anyone have any idea why this could
happen?