1
Reply

What are the advantages and disadvantages of Using Cookies?

Pradeep

Pradeep

15y
39.3k
1
Reply

    Advantages of cookies:-
    1. Cookies do not require any server resources since they are stored on the client.
    2. Cookies are easy to implement.
    3. You can configure cookies to expire when the browser session ends (session cookies) or they can exist for a specified length of time on the client computer (persistent cookies).
    Disadvantages of cookies:-
    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.