logo

Computer Networks - Usage of Cookies in Ecommerce and Advertising Websites

   

Added on  2023-06-03

8 Pages1287 Words291 Views
Running head: NETWORKS AND COMMUNICATIONS
Computer Networks
Name of the Student
Name of the University
Author Note

1
NETWORKS AND COMMUNICATIONS
Ans 1 (A) :
The client when sends a request from the machine to the server a get request is sent
and the server returns a cookie for with the acknowledgement message. The below diagram is
used for the demonstrating cookie usage and its application in tracking the pattern of usage
and activity of the user in the ecommerce website.
In the above diagram the user behaviour is analysed using the behaviour of the user
and collect the information for the evolution of the server and client relationship.
A cookie is created in the server side for storing the user data and a cookie is created
is created on the client side for storing the server data and the same ID is used for transferring
the data between the client and the server. The request made from the client side is handled
by the server and each of the activity of the user is tracked in the cookie and it is updated in

2
NETWORKS AND COMMUNICATIONS
the server and saved. The cookie also have an expiration date and time the search pattern of
the user is stored for suggesting the user similar type of items.
The cookie mechanism is applied in the ecommerce website for increasing the
usability and dealing with the placement of orders. The cookie helps to user to redirect to the
desired page by using the data from the cookie and updating the cookie to get the history and
the current item selected. Another request is made by the client that for opening the catalogue
of the shopping website and fetch the files and information from the server.
The web server return the requested page from the cookie and the needed page that is
searched by the user. The details are contained in the searched page and two different types
of cookies are generated for the different process and the first cookie is the session cookie
that is temporary and gets deleted automatically after closing the webpage and the browser.
There are no constraint that have date and time mentioned for limiting the expiration and
configuration can be made such that it can be lasted for a longer time period and restored
when the browser fetched the url again. There is another cookie type i.e. session token that is
applied for the management of the maximum time and eliminate the time boundary of the
cookies.
The desired step is successfully executed and a HTTP header is used for analysing the
request from the user and a response is received form the server depending on the request.
The server responses according to the user request and the cookie header is sent to the user
for sending and receiving the data from the user. The cookie header manages the files and
information from the client for the analysis of the user pattern.
The cookie is used for getting the item requested after checking the availability and
the set of cookie can be modified with the implementation of another cookie and the old
value is changed with the new one for setting the nature. The last procedure of online

End of preview

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

Related Documents
Computer networks assignment
|9
|1879
|87

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

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

Web Server Management System - Programming
|15
|1649
|15

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

Assignment: HTML, PHP and SQL
|7
|1231
|240