When I use the following code, the code tries to redirect me to
http://www.abccom.com/www.yahoo.com where abccom is my current domain. How do I get this code to completely take me out of the abccom.com domain?
<%@ Page Language="C#" %>
<script runat="server" language="C#">
void Page_Load()
{
// Response.RedirectPermanent("http://yahoo.com");
Response.Redirect("http://yahoo.com");
}
</script>
Yes. That is the solution. Clearing the cache. Thanks!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.