James,
Here's some code...
<@ASSIGN local$GIF {whatever}>
<@ASSIGN local$encodeResults VALUE="false">
<@ASSIGN local$httpHeader 'HTTP/1.0 200 OK<@CRLF>
Content-Type: image/gif<@CRLF>
Content-length: <@LENGTH <@VAR local$GIF>><@CRLF>
<@SETCOOKIES><@USERREFERENCECOOKIE><@CRLF>'>
<@VAR local$GIF>
I've broken it into separate lines to make it more readable. Normally, I'd
have the entire thing in a single action on a single line.
Regards,
Jon
-----Original Message-----
From: James MacFarlane [mailto:[EMAIL PROTECTED]]
Sent: 04 September 2002 2:46
To: Multiple recipients of list witango-talk
Subject: Witango-Talk: Spoofing MIME headers
I have an application where the source of an image points to a .taf file. I
want to log the fact that the image has been viewed and then send out the
MIME header and the contents of the image.
I've done this with asp using <% Response.ContentType = "image/gif" %> but
I don't know what the Tango equivalent is.
- James.
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body