naamabm Posted August 22, 2010 Share Posted August 22, 2010 HiI know how to pass data from client side (html file) to server using CGI script (POST method).I also know how to re-create the html page from server side after receiving the data (using printf).However I want to write static pages on client side, and only to pass information (data) from server to client and other way around.1. How do I pass the data from the server side?2. How does the client side receive the data from the server?Thank youNaamap.s. I am working on embedded product with Linux as OS Link to comment Share on other sites More sharing options...
Ingolme Posted August 22, 2010 Share Posted August 22, 2010 The client requests the data from the server only once, as soon as it loads. that's how the HTTP protocol works.You can use AJAX to perform an HTTP request after the page has loaded. Read the W3Schools AJAX tutorial to learn how to do it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.