Home > Net >  About the Response. Redirect strange question 2, online, etc
About the Response. Redirect strange question 2, online, etc

Time:12-04

In front of the post again, send a post, post web site: https://bbs.csdn.net/topics/398366029

When the deployment server, the upcoming website file to copy the cover to the server, can jump, but after ten minutes, and can't jump, just as the address is invalid, and then send release site files to copy the front cover to the server, restart the web service, can the normal jump again, after more than ten minutes and not line, (tried to restart the server and the client are not only,)

Then after a lot of observation, discover this kind of phenomenon is for HTML pages, and jump to normal aspx, then I changed a way,
Send window. The location. Href='https://bbs.csdn.net/template/right.html' normal operation, so still hope experts to analyze what reason, to share, thank you,

CodePudding user response:

Include a Fiddler and track the HTTP request or browser F12, keep the log in the Network, see if there is any error 404401,



CodePudding user response:

How you jump, you are the point jump somewhere, or js refresh jump, jump regularly, or the background when jump no other page is normal open, can't jump normal manually enter the address of the correct address can access

CodePudding user response:

refer to the second floor gs0038 response:
how you jump, you are the point jump somewhere, or js refresh jump, jump regularly, or the background when jump no other page is normal open, can't jump normal manually enter the address of the correct address if you can visit


 
Protected void ImgBtnLogin_Click (object sender, ImageClickEventArgs e)
{
The Response. Redirect (" ~/template/right. HTML ");
}
  •  Tags:  
  • C#