Professional Documents
Culture Documents
Cookies: - : We Can Create Sub Key For Cookies Drawback
Cookies: - : We Can Create Sub Key For Cookies Drawback
1) To store data in text files and that text file reside on the client machine.
2) We can store only string values not object.
3) Scope: - Multiple pages.
4) By default cookies are temporary and temporary cookie stored in browser
only.
5) But we can create permanent cookies, we can specify expiry date and time
according to the user.
6) By default cookies are URL specific means gmail is not supported in yahoo)
7) Per site 20 cookies can be created in one website
8) Initial size of cookie is 50 bytes.
9) Maximum size of cookie is 4096 bytes.
Drawback: -
1) Size limitation
2) User can manipulate the cookies.
3) User can enable or disable the cookies.
Output will be given after creating the cookies through the programming: -