You can download a wwFoxISAPI class from my Web site:
http://www.west-wind.com/articles.aspthat does this stuff and much more... It's a small subset of the Web Connection framework in the FoxISAPI environment.
+++ Rick ---
>>FoxISAPI performs no header fix-up. THe Web server might if no header was supplied.
>>
>>Just add your HTTP header to the output.
>>
>>+++ Rick ---
>>
>>>I am using foxisapi to build a web-based database. I need to return a simple HTTP header which precedes the actual html. When I use the return command in a procedure, FOXISAPI apparently is generating its own header and sending it in front of the header I am sending. So when my header arrives at the client, it is interpreted as html. Does anyone out there know how to send just the HTTP header from FOXISAPI?
>>>
>>>Thanks in advance.
>>>
>>>
>>>John Dennis
>Rick,
>
>Thanks for your reply. I think I have this now. I am not sure what I was doing wrong, but I have successfully created a cookie by generating and returning the http header. Everything looks like it is working according to specs. If you have any advise regarding reading the cookies back, I am all ears (so to speak).
>
>Thanks again
>
>
>John Dennis