Interview Question
Qus: What are the disadvantages of cookies?
Answers (2)
o Cookie can store only string value.
o Cookies are browser dependent.
o Cookies are not secure.
o Cookies can store only small amount of data.
1. Users can delete a cookies.
2. Users browser can refuse cookies, so your code has to anticipate that possibility.
3. Cookies exist as plain text on the client machine and they may pose a possible security risk as anyone can open and tamper with cookies.