ASP Method


ASP Method

Redirect Method Directing The Internet address to another URL
Example:
<%
Response.Redirect (tophtml.blogspot.com)
%>
Write Binary Method Sending binary data
Example: Send the picture .gif to browse:

<%
Response.status ("200")
Response.Content Type ("image/gif")
Write Binary image
%>
 
Write method Send a text (string) to the Web-Client
response.write ("Hello, how are you?")
 
Write to also display the contents of variables:
count = 2000
response.write ("The count is" & count)

Variable values can also be displayed directly:  
<% = Count>
Or in HTML text:
<HTML>
....
Results count is <% = Count>
....
</ HTML>

0 comments:

Post a Comment