N
nettleby
The Microsoft site has confused me on this issue:
http://www.microsoft.com/technet/pr.../reskit/iisbook/c06_redirection.mspx?mfr=true
Says that:
"ASP automatically discards any existing output in the buffer when you
call Response.Redirect "
But then the code example has a Response.Clear in, i.e.
If Err.Number > 0 Then
Response.Clear
Response.Redirect "./error.mspx"
End If
Does anyone know whether a Response.Clear is needed or not? Or does it
vary on different versions?
Thanks.
http://www.microsoft.com/technet/pr.../reskit/iisbook/c06_redirection.mspx?mfr=true
Says that:
"ASP automatically discards any existing output in the buffer when you
call Response.Redirect "
But then the code example has a Response.Clear in, i.e.
If Err.Number > 0 Then
Response.Clear
Response.Redirect "./error.mspx"
End If
Does anyone know whether a Response.Clear is needed or not? Or does it
vary on different versions?
Thanks.