1.a.There are two types of file that is generated in the cookie mechanism. Two files get generated one in client side and one in the server side. In the client side a vendor file gets generated with a cookie id 12343 and on the server side a customer file gets generated with the same cookie id. The server side is the one that deals with all the responses generated , and the client side generate cookies with every request made. The first response that get stored in the vendor file is after getting the response from the server and the server file gets data after the first request made. Whenever the server responses for the request made by the client with the help of this cookie , the server gets updated with each response generated by the server in the user file. The Id gets updated with details they are proceeding. The last detail that will be stored in response with the cookie mechanism in this case is the order confirmation received by the customer for the particular product.
The mechanism involved in the working of cookie in online shopping is firstly the user requests the page to direct to a particular site. The cookies are set using Set-Cookie in HTTP header and in response from web server. This header is used to direct the web browser to store the cookie and is used in future when the client requests for the same browser. In this the client request the cookie to direct the web browser to a site that will list all the all the best toys details. The user requests the server for the details. In response to this request the web browser returns the search and provides page with details about all the best toys available. The response contains all the contents of the requested websites homepage. In addition to this , the browser s instructed to set two cookies for this. The first one is known as the session cookie. In this step, the session cookie is generated. The session cookie is created and it is deleted when the client shuts down the program or backs from the page, as there is no particular expiry time for the session cookie. However, the session cookie gets permanent when the browser is used for session restoring. The second one is the session token, this is considered to be a persistent cookie as it contains an max age attribute, this instructs the browser to remove the cookie at a fixed time and date.
In the next step the browser, send a request again for getting the image on the website. The request sent to the browser contains a cookie with a HTTP header. The server on receiving the request knows that this is related to the previous request made. The server responds accordingly and sends cookie to the page that is requested by the user. This includes more Set- Cookie headers, so that they can proceed with the request made by the user and adds new cookie to server or modifies the existing one. In this, the user requests the server to provide the images related to best toys they are planning to buy online. In response to the request made by the user, the page responds with the website that shows the price along with the images. The user can modify the cookie by adding a Set-Cookie in response to the page request. The browser further replaces the old cookie value with the new value.
In the final step, the user requests the server to get the payment details so that they can proceed with the payment. The cookie is generated and knows that the server is requesting for the payment details that are related to the last search made. The server proceeds with setting the cookie and response accordingly. The requested server responses with conforming the item and proceeds with the payment required to be made with the item.
b.When the advertising company shows banner ads in the university website and the hyperlink is clicked by the user the user is redirected to the advertising company webpage and cookie is stored in the web server. The demonstration of the working of the website is given in the diagram. Two website pages are created and it is connected with two of the server and the client request from the server with a cookie and the cookie is passed to the advertising server such that the user can be tracked.
2.As Web browsers and web servers function together as a Client-Server system. They communicate via TCP. This communication consists of three parts 1.Connection Establishment 2.Data Transfer 3.Connection Termination.
The following diagram analyzes the steps used for transmission of data.
Thus in this way the three process are completed.
Annan, R.K., Amoako, R.O. and Agyepong, J.T., 2018. Comparative Analysis of the Re-Convergence Ability of RIP, OSPF and EIGRP Routing Protocols. International Journal of Innovative Research and Development, 7(7).
Archana, C., 2015. Analysis of RIPv2, OSPF, EIGRP Configuration on router Using CISCO Packet tracer. International Journal of Engineering Science and Innovative Technology (IJESIT) Volume, 4.
Calvo, J., Gracia, J. and Bayo, E., 2017. Robust design to optimize client–server bi-directional communication for structural analysis web applications or services. Advances in Engineering Software, 112, pp.136-146.
Chernyi, S., 2015. The implementation of technology of multi-user client-server applications for systems of decision making support. Metallurgical & Mining Industry, (3).
Hong, S., Xu, L., Wang, H. and Gu, G., 2015, February. Poisoning Network Visibility in Software-Defined Networks: New Attacks and Countermeasures. In NDSS (Vol. 15, pp. 8-11).
Iwamoto, M., Omino, T., Komano, Y. and Ohta, K., 2014, November. A new model of Client-Server Communications under information theoretic security. In Information Theory Workshop (ITW), 2014 IEEE (pp. 511-515). IEEE.
Li, P., Jia, Y., Feng, M., Ye, C., Chen, F. and Fan, H., 2016. A real-time software defined radio platform for LTE-advanced heterogeneous networks. Journal of Communications, 11(3), pp.263-275.
Liu, X., 2015. Atypical hierarchical routing protocols for wireless sensor networks: A review. IEEE Sensors Journal, 15(10), pp.5372-5383.
Minakhmetov, A., Ware, C. and Iannone, L., 2018, March. Optical networks throughput enhancement via TCP stop-and-wait on hybrid switches. In 2018 Optical Fiber Communications Conference and Exposition (OFC) (pp. 1-3). IEEE.
Mohammed, M.A., Degadzor, A.F. and Asante, M., 2016. Performance Analysis of Enhanced Interior Gateway Routing Protocol (EIGRP) Over Open Shortest Path First (OSPF) Protocol with Opnet.
Nunes, I.O., Celes, C., de Melo, P.O.V. and Loureiro, A.A., 2017. GROUPS-NET: Group meetings aware routing in multi-hop D2D networks. Computer Networks, 127, pp.94-108.
Oluwatosin, H.S., 2014. Client-server model. IOSRJ Comput. Eng, 16(1), pp.2278-8727.
Rehman, A.U., Yang, L.L. and Hanzo, L., 2015, May. Performance of cognitive hybrid automatic repeat request: Stop-and-wait. In Vehicular Technology Conference (VTC Spring), 2015 IEEE 81st (pp. 1-5). IEEE.
Zafar, S., Tariq, H. and Manzoor, K., 2016. Throughput and delay analysis of AODV, DSDV and DSR routing protocols in mobile ad hoc networks. International Journal of Computer Networks and Applications (IJCNA), 3(2), pp.1-7.
Essay Writing Service Features
Our Experience
No matter how complex your assignment is, we can find the right professional for your specific task. Contact Essay is an essay writing company that hires only the smartest minds to help you with your projects. Our expertise allows us to provide students with high-quality academic writing, editing & proofreading services.Free Features
Free revision policy
$10Free bibliography & reference
$8Free title page
$8Free formatting
$8How Our Essay Writing Service Works
First, you will need to complete an order form. It's not difficult but, in case there is anything you find not to be clear, you may always call us so that we can guide you through it. On the order form, you will need to include some basic information concerning your order: subject, topic, number of pages, etc. We also encourage our clients to upload any relevant information or sources that will help.
Complete the order formOnce we have all the information and instructions that we need, we select the most suitable writer for your assignment. While everything seems to be clear, the writer, who has complete knowledge of the subject, may need clarification from you. It is at that point that you would receive a call or email from us.
Writer’s assignmentAs soon as the writer has finished, it will be delivered both to the website and to your email address so that you will not miss it. If your deadline is close at hand, we will place a call to you to make sure that you receive the paper on time.
Completing the order and download