Hi,
I have an aspx page and use xmlhttprequest to call another page "/temp/test.asp" like this.
The test.asp has just one line of codeCode:var xmlHttp = false; /*@cc_on @*/ /*@if (@_jscript_version >= 5) try { xmlHttp = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { try { xmlHttp = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e2) { xmlHttp = false; } } if (!xmlHttp && typeof XMLHttpRequest != 'undefined') { xmlHttp = new XMLHttpRequest(); } var url = "/temp/test.asp"; xmlHttp.open("GET", url, true); xmlHttp.send(null);
Response.redirect("http://www.google.com");
But the response.redirect does not work.
Please tell me if this code should work.Else please suggest an alternative.




Bookmarks