Function Name
AddHeader
Result
Code
<% Response.AddHeader "Refresh", "3; URL=http://www.yahoo.com" Response.Write "The page will connect to www.yahoo.com in 3 seconds %> |
Function Name
Charset
Result
Code
<% Response.Charset="x-sjis" %> <p>This page is encoded in "x-sjis", which is a Japanese character set. <br>In order to view the following Big5 characters, you need to change the document encoding. <br>你若看得懂這一句中文,代表你已經將文件編碼改成大五碼(Big5)了! |
Function Name
Status ExpiresAbsolute ContentType
Result
Code
<% Response.Write Response.Status & " <BR> " Response.Write Response.ExpiresAbsolute & " <BR> " Response.Write Response.Buffer & " <BR> " Response.Write Response.ContentType & " <BR> " %> |
Function Name
End
Result
Code
<% Response.Write "Success!!" Response.End Response.Write "If you see this word, that means failed." %> |
Function Name
Redirect
Result
Code
<% response.Redirect "test.asp" %> |
connect to test.asp
Function Name
Write
Result
Code
<% response.Write "Good Morning" %> |
Print "Good Morning"