I have a response.redirect in my asp page to redirect to another page.
When i updated my website a little while ago, my response redirect stopped working, although i did not make any changes to the asp page. I then changed it to a server.transfer command and i thought no more about it. I have now updated my website again (again not changing the asp pages) and neither the server.transfer or the reponse.redirect commands will redirect the page.
I have three asp pages none of which are redirecting. (the asp page opens instead of the page that i want to redirect to)
I use the same code for each (although redirecting to a different page:
On Error Resume Next
If not Mail.Send Then
ErrStr = Err.Description
Response.Write "Error(" & ErrNum & "): " & ErrStr
Else
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fspenTextFile("c:\colexcallback.txt", ForAppending, True)
f.Write Session("strWriteData")
f.Close
Response.Redirect "cbresponse.html"
End If
End If
%>
Any ideas on why this keeps stopping working would be greatly appriciated.
thanks
Ruth
When i updated my website a little while ago, my response redirect stopped working, although i did not make any changes to the asp page. I then changed it to a server.transfer command and i thought no more about it. I have now updated my website again (again not changing the asp pages) and neither the server.transfer or the reponse.redirect commands will redirect the page.
I have three asp pages none of which are redirecting. (the asp page opens instead of the page that i want to redirect to)
I use the same code for each (although redirecting to a different page:
On Error Resume Next
If not Mail.Send Then
ErrStr = Err.Description
Response.Write "Error(" & ErrNum & "): " & ErrStr
Else
Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fspenTextFile("c:\colexcallback.txt", ForAppending, True)
f.Write Session("strWriteData")
f.Close
Response.Redirect "cbresponse.html"
End If
End If
%>
Any ideas on why this keeps stopping working would be greatly appriciated.
thanks
Ruth