NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Niels Larsen on November 04, 2019, 01:50:02 AM
-
Hi
I'm trying to call a procedure inside a static html. The procedure of course has the NetWebServerWorker as parameter.
I have tryed this: <!-- Net:myprocedure --> in the top and in other places in the document, but it has no effect.
It should work with forms and browses. Mine is a source.
Any idea?
Regards Niels
-
Any static page mmust have the <!-- Net:WebServer --> server tag at the top of the page.
From the docs:
Static pages (usually .htm pages on disk) that contain tags have to be parsed by the server. If you use a static page on the disk these tags can still be used. However in that case the first line of the page must be
<!-- NetWebServer -->
-
Hi Don
"Any static page mmust have the <!-- Net:WebServer --> server tag at the top of the page."
I know. All the static tags is in play in my html document. And all my session vars working perfect.
My goal is to initilize a bunch of session vars used i the document so the document can be called with a parameter and filled in individually.
Makes sense?
Regards Niels
-
What Procedure Template is myprocedure ?
cheers
Bruce
-
Your question showed the way.
Of cause it has to be a NetWebSource and not a Source.
How embarrassing...
Thanks!