okay. i have this code and it's giving me this error, and the line that's causing this error is where i type
the error message is:Code:response.redirect "redir.asp"
and this is the source code:Response object error 'ASP 0156 : 80004005'
Header Error
/redirect.asp, line 12
The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page
content.
Code:<%@ Language=VBScript%> <!--#include file="ADOvbs.inc"--> <html> <head> <title>trying redirect</title> </head> <body> <% Dim varConfirm varConfirm = Request.Form("rConfirm") 'no problem here If varConfirm="no" Then Response.redirect "redir.asp" else ' code if varConfirm="yes" end if %> </body> </html>




Reply With Quote