NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: ianburgess on September 11, 2012, 09:22:36 AM
-
After updating from NT5 to 6.44, I have a script that is called to display a message box in ValiodateAll of a form which previously worked ok:
embed:
p_web.Script('alert("Warning: You have not entered a Time at Patient - this entry will be treated as CANCELLED")')
Now, the message is displayed but on returning to the browse, the browse style is incorrect and the following text is displayed at the top:
HTTP/1.1 200 OK Date: Tue, 11 Sep 2012 17:16:03 GMT Server: NetTalk-WebServer/6.44 Expires: Mon, 12 Sep 2011 17:16:03 GMT Content-Type: text/html Cache-Control: no-store, no-cache, must-revalidate, private,post-check=0, pre-check=0, max-age=0 Pragma: no-cache Connection: close
What has gone wrong?
-
I had the same problem some time ago.
My occurred because I had a "DO SendPacket" in the middle of <HEAD> </ HEAD>
/Niels
-
it usually means you've embedded something before the header is sent.
I guess a small example might help determine a better way to add the script.
cheers
Bruce