logo

Computer networks assignment

   

Added on  2021-04-22

9 Pages1879 Words87 Views
Running head: COMPUTER NETWORKSComputer NetworksName of the StudentName of the UniversityAuthor Note
Computer networks assignment_1
1COMPUTER NETWORKSAns 1 (A) :Cookies are arbitrary pieces of data, usually chosen and sent by the web server, and storedon the client computer by the web browser. The browser then sends them back to the serverwith every request, introducing states (memory of previous events) into otherwise statelessHTTP transactions.The diagram shown below can be best described and used to understand the usability ofcookie and can be used to illustrate its significance of it in online shopping and E-commercebusiness.The process which was put forward to analyse and enhance web user's behaviour bycollecting data and user information on evolving the relationship of clients and its servers.
Computer networks assignment_2
2COMPUTER NETWORKSThe files that are created as cookie file is one on the side of the client and other on the side ofthe user which store data respectively. A cookie with ID 12343 is created on the client sidein the vendor file and another file gets created on the server side with the exact cookie ID i.e12343 which is used to store data on either side for their respective uses.The client side deals with the request made while the server side with responses generated .The data on the client side gets automatically gets stored in its vendor file and the customerfile when a response and a request is made respectively. Now, because of the request made bythe client, the server is obliged to respond which result in update of the server generated bythe user through its file which then updates its own ID. Now the last response that is madeusing this mechanism is the detail of the order's confirmation received for that particularorder.The above stated mechanism is very successfully used in dealing with placing orders in an E-commerce. The desired page that is to be used by the user for shopping is requested throughthe browser to the server for viewing and using of the E-commerce page from where the userwants to shop from the web server then give its response which then initiates cookies to beset using set-cookies, which is used to direct the browser to store the cookie and its data ,which can also be used in the by the server if the client request through the browser of samehistory without removal of any cookie . The client then makes another request through thecookie to the browser to open the site that has the required item in there catalogue to shopfrom the online website. The user, then makes another request to the server to fetch therequired details needed from the server. Then the website through the browser returns the request of the user by providing pageswith the details of the items needed.
Computer networks assignment_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Understanding the Mechanism of Cookies in Computer Networks
|5
|767
|281

Understanding the Use of Cookies in Online Shopping and Banner Advertisements
|8
|1947
|475

Understanding the Use of Cookies in Computer Networks
|8
|1041
|73

Computer Networks - Usage of Cookies in Ecommerce and Advertising Websites
|8
|1287
|291

Problem Resolving Report on Communication and TCP Connection Establishment
|6
|1330
|389

Ways of Attacking a Web Application in PHP: SQL Injection, XSS, Session Hijacking, Directory Traversal, and Remote File Inclusion
|9
|1493
|176