Question: Which statement about using Cookie to store value is incorrect? Data stored in Cookie should be as lean as possible to avoid cross - site

Which statement about using Cookie to store value is incorrect?
Data stored in Cookie should be as lean as possible to avoid cross-site scripting.
Data in Cookie is subject to length restriction, which is 4K.
Data stored in cookie must be String.
In the commercial website, the cookie data usually are stored in database. Once server receives the cookie id (sesionId) from the browser, server retrieves the cookie data from the database.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!