VBScript Sample: vbscript/ado/animals/gif.asp
   ASP Script
   Comments or Client-side Script
   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 a picture

           Response.BinaryWrite Session("Pic")

           Response.End
      else
%>

<html><body>
<%
         response.write("animal:")
%>

</body></html>
<%
      end if
%>


Copyright © 1998-2002, Halcyon Software Inc. All rights reserved.