ASP Source Code

ASP File: vbscript/ado/animals/gif.asp

 
   ASP Script
   Comments
   HTML and Text

<%@ Language=VBScript %>
<%
      if session("first") = false then
           Response.Buffer = TRUE
           Response.ContentType = "image/gif"
           Response.Clear
   
           ' Write Data back to client. Because MIME type is set to
           ' image/gif, the browser will automatically render as picture
           Response.BinaryWrite Session("Pic")

           Response.End
      else
%>
<html><body>
      <%response.write("animal:")%>
</body></html>
<%      end if
%>