NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on February 15, 2012, 11:23:33 PM
-
Hi Guys,
There is some code that I'd like to add to the server-side window of my web-server app.
Thus, adding it to the web-server procedure.
How do I built-in a trigger from the web-page to 'action' the code inserted in the web-server procedure?
-
what sort of trigger do you want? a button on a form maybe?
cheers
Bruce
-
Hi Bruce,
I think the best way is to code the "trigger" in the post-insert, start embed of the form.
Thus, when the record is inserted, it will action the code on the server-side.
Regards
Rupert
-
Hi Bruce,
Is it possible to put a "timer event" on the server side procedure to monitor for a trigger?
How do I pass a value from a session variable to the server side "timer event" to trigger the event?
-
>> I think the best way is to code the "trigger" in the post-insert, start embed of the form.
ok, so make a call there, or start a thread or whatever you like. so what's the question?
>> Is it possible to put a "timer event" on the server side procedure to monitor for a trigger?
>> How do I pass a value from a session variable to the server side "timer event" to trigger the event?
sounds to me like you're trying to make something really simply into something really complicated. why not just call the procedure from the Post-Insert embed point? Start a thread even if it's gonna take a long time.
cheers
Bruce