I think I have the problem resolved. I was using a process that created HTML code that was placed in a memo field in a browser. If the generated code was looked at by accessing the table thru VFP all the code was in place and everything looked correct.
The HTML code was transferred to the browser using:
SELECT field_name FROM table_name WHERE field_name LIKE field_value.
While the code was completely correct as it existed in the memo field from the table for some reason sometimes the first few lines of the HTML code were not being transferred to the browser. The page would display correctly when viewed using Internet Explorer but would not display correctly when using any other browser.
I modified the process of transferring the data to the browser as follows.
- I created a new table with a new memo field to hold the first and last lines of the of the code which was being transferred.
- the data in the new table and memo field looked like that shown below:
Sent by FoxWeb Support on 12/19/2013 11:09:36 AM:
Have you tried using the browser's developer tools to determine the exact content being returned by the browser?
Do the HTTP headers always appear in the exact same position in the output content?
I also wonder if there's some sort of mix-up, where you are using both the version 1 API (html_out) and the newer methods of sending output to the browser, such as the Response and Cookie objects, and fwx scripts.
Is the page available over the internet and, if not, can you make it available and send us the URL?
|FoxWeb Support Team
Sent by Nathan Nixon on 12/08/2013 11:18:46 AM:
The output is being returned to the browser using html_out.
I have been able to determine that the unwanted text is not being inserted in any of the code that I am creating. It is being inserted into the code which the browser is given after the code is read by Foxweb. In other words the code being read by Foxweb does not have the unwanted text. Sometime between when it is read by Foxweb and when it is displayed in the browser the unwanted code is being created.
I'm having difficulty figuring out how that can happen. It is cretainly a function of the web server.
Thanks for any additional help you can give.
Sent by FoxWeb Support on 12/07/2013 01:28:53 PM:
The symptoms you are seeing are very strange. It should have nothing to do with the fact that your HTML is coming from a data table, unless of course the HTTP header you are seeing in the output is embedded in the text from the beginning.
It would be useful to monitor the connection with browser development tools (press F12 and use the Network functionality).
How are you returning the content to the browser? Are you using Response.Write, fwx templates, or html_out?
|FoxWeb Support Team
Sent by Nathan Nixon on 12/07/2013 10:42:13 AM:
I am using the following configuration:
I create HTML code that is stored in a memo field in a table.
A portion of that HTML code is plain text which is in a table using the <td> tag. The application runs without any issues except I am getting the text shown below inserted into a line of HTML code which creates plain text.
The output being created is:
Teachers evaluate the effeHTTP/1.1 200 OK Server: Microsoft-IIS/5.1 Date: Sat, 07 Dec 2013 18:18:14 GMT X-Powered-By: ASP.NET Connection: close ct of teaming on instruction and students.
Ths output should be
Teachers evaluate the effect of teaming on instruction and students.
HTTP/1.1 200 OK Server: Microsoft-IIS/5.1 Date: Sat, 07 Dec 2013 18:18:14 GMT X-Powered-By: ASP.NET Connection: close
are being added inserted into the actual code as the line is written from within my application. I get the correct screen display for the output except for the added text as indicated above.