First:
Copy codeThe Code is as follows:
Private void button#click (object sender, System. EventArgs e)
{
Response. Redirect (Request. Url. ToString ());
}
Second:
Copy codeThe Code is as follows:
Private void Button2_Click (object sender, System. EventArgs e)
{
Response. Write ("
<Script language = javascript> window. location. href = document. URL;
</Script> ");
}
Third:
Copy codeThe Code is as follows:
Private void Button3_Click (object sender, System. EventArgs e)
{
Response. AddHeader ("Refresh", "0 ");
}
Fourth:
Copy codeThe Code is as follows:
Private void Button6_Click (object sender, System. EventArgs e)
{
// Does it seem wrong?
// Response. Write ("
<Script language = javascript> window. location. reload ();
</Script> ");
}
Fifth: (to be replaced <>)
Copy codeThe Code is as follows:
<Script> <! --
Var limit = "3:00"
If (document. images)
{
Var parselimit = limit. split (":") parselimit = parselimit [0] * 60 + parselimit [1] * 1
}
Function beginrefresh ()
{
If (! Document. images) returnif (parselimit = 1) window. location. reload () else
{
Parselimit-= 1 curmin = Math. floor (parselimit/60) cursec = parselimit % 60if (curmin! = 0) curtime = curmin + "Minute" + cursec + "second to refresh this page! "Elsecurtime = cursec +" refresh this page in seconds! "Window. status = curtimesetTimeout (" Maid () ", 1000)
}
}
Window. onload = beginrefresh // --> </script> <DIV style = "Z-INDEX: 102;
LEFT: 408px;
POSITION: absolute;
TOP: 232px "ms_positioning =" text2D ">
<P> <FONT size = "3"> automatically refresh the page </FONT> </P>
</DIV>
Sixth:
Copy codeThe Code is as follows:
<Meta http-equiv = "refresh" content = "300;
Url1_target.html ">