I actually have used the browser's developer tools and I think I have the problem resolved:
I was generating HTML code automatically from within VFP. The generated code was being delivered to the browser using:
SELECT field_name1 FROM table_name WHERE field_name2 LIKE value
If one looked at the HTML code being extracted from the table it was correct. However when the source code for the page was viewed in the browser sometimes the first few lines of coce were not there.
I modified the process of delivering the HTML code to the browser to extract code from a new table and memo field. The new code looked like that shown below:
All the HTML code which I needed to generate except for lines 1,2,3 and 5 shown above was captured into a memory variable by simply doing a scatter command for the memo field containing the needed code.
Then using the <<function>> as shown above that code was inserted into the data extracted from the new table and memo field.
Now all the HTML code appears correctly when the source code is viewed for the page.
I'm not sure why that happens but it works correctly. Does that mean it is not possible to extract HTML code entirely from a memo directly? Is it always necessary to go thru the process of merging the generated code with static lines of code?
You can step thru most of the pages at the web site by going to:
Login as a returning user with:
password = Rick
To quickly see the results of the work after providing the login information
Choose - View A Report
Click on any one of the radio buttons on the next screen
Click on Next
A report will be displayed with additional options at the bottom of the screen.
Users can move back and forth thru the reports using the buttons available.
If you have any thoughts they would be greatly appreciated. However, the pages now all working correctly. I do not see the random text being inserted on any of the pages.
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.