You don't need to be an 'investor' to invest in Singletrack: 6 days left: 95% of target - Find out more
I am developing a program which needs a HMI. For various reasons such platform flexibility, local or remote HMI, etc a simple web interface will be used. I am an experience programmer but not in web technologies so excuse the simple Q. The system will not be running on the web, only on internal networks.
On the server a program will be running that will pass data to and from the webpage. The impression I am getting from looking at cgi script tutorials is that each time a GET, PUT, POST or whatever is sent the web server will run the *.cgi program is run. My program will be continuously running so just need to deal with requests as received. I do not want to run it on every request. Or would people just use a cgi as an go to between the running program and the web-server?
I've probably misunderstood something...
Forget CGI.. host the HTTP requests in your program - effectively making your program a web server.
What language are we talking here?
Main server will be c++
I think you're right. Having just has a little look for https libs. That looks quite easy. I think it should be quicker and lighter too.
if you're an internal app, do you need the encryption in https?
http would be simpler, and no need for the everlasting headache of certificates