Another Client Server Question
- What are the steps that are followed when an HTML form is submitted and
put in a server side database?
(8 marks)
- Marking scheme:
3 points for client sending the data
2 points for packets and client reassembling the data
3 points for server sticking it in the database.
- Sample answer:
When an HTML form is submitted, the values
are packed into packets and sent to the server. This is done
using the TCP/IP protocol. On the server side, the packets are
reassembled to get the full form data including some form of
identification of the sender. When the packets are complete,
the server sends an acknowledgement to the client that it has
got the data. If the database package is not running, the
server may start it. The server then adds the data to the
appropriate table.