<%
session("id")=Request.QueryString("id")
set connGraph=server.CreateObject("adodb.connection")
connGraph.Open"dsn=business;uid=businessuser;pwd=businessuser"
set rec=server.createobject("ADODB.recordset")
strsql="select img from photo where id='"&request.QueryString("id")&"'"
rec.open strsql,connGraph,1,1
Response.ContentType="image/*"
Response.BinaryWrite rec("img").getChunk(750000)
rec.close
set rec=nothing
set connGraph=nothing
%>
<html>