S
shank
I have the following code to redirect users to
http://www.mydomain.com/new/default.asp if they use the URL www.newstuff.com
(sample). I have that domain name parked on www.mydomain.com. I'm getting
the follwing error...
Response object error 'ASP 0156 : 80004005'
Header Error
/Default.asp, line 21 <--- this is my home page
The HTTP headers are already written to the client browser. Any HTTP header
modifications must be made before writing page content.
Can anyone give me a clue?
thanks!
<%
sname = UCASE(Request.ServerVariables("SERVER_NAME"))
If InStr(sname,"NEWSTUFF") <> 0 then
response.redirect "http://www.mydomain.com/new/"
End If
%>
http://www.mydomain.com/new/default.asp if they use the URL www.newstuff.com
(sample). I have that domain name parked on www.mydomain.com. I'm getting
the follwing error...
Response object error 'ASP 0156 : 80004005'
Header Error
/Default.asp, line 21 <--- this is my home page
The HTTP headers are already written to the client browser. Any HTTP header
modifications must be made before writing page content.
Can anyone give me a clue?
thanks!
<%
sname = UCASE(Request.ServerVariables("SERVER_NAME"))
If InStr(sname,"NEWSTUFF") <> 0 then
response.redirect "http://www.mydomain.com/new/"
End If
%>