Lasewing Server Question - POST Items
I was able to get the Lacewing Web Server working and I was able to send POST information from the web page to the MMF Program/Lacewing Extension. Now the issue is sending sending information in the reverse direction.
I see we could build a webpage and send it back to the browser using MMF/Lacewing. Is there a way for the Lacewing to "set the POST item field information" instead of just reading it?
Let say when I click a submit button on the webpage it does a POST to Post Item MESSAGE with the text "Hello". Now on the server MMF/Lacewing is able to access post Item MESSAGE and perform some calculation or make a decision. Now I want the POST MESSAGE item to read "Got Hello Message". Then on the webpage I could code to have the POST Item read when the webpage is loaded and a dialog box displayed saying "Server got Hello Message"
By setting the POST Item, I am able to use HTML, Javascript or a MMF webpage app to get the message, make a decision and display a dialog box. Now I have the ability to add MMF scripting to both the webpage and the server for example.
Perhaps there is a better way. Any ideas??? Any suggestions???