Welcome to WebmasterServe!

FREE TO JOIN! Join us now to engage in informative and friendly discussions about Webmastering, SEO, SEM, Internet Marketing, Programming, Graphic Design, Online Jobs and more. What are you waiting for? Ready to join our friendly community? It takes just one minute to register.

Dismiss Notice

Join WebmasterServe Forums 
Join the discussion! Have a better idea or an opinion? It takes just one minute to register Click Here to Join

Help Me/Question What Is The Difference Between Local Storage And Cookies?

Discussion in 'HTML Coding' started by VIVEK KUMAR, Mar 12, 2016.

  1. VIVEK KUMAR

    Yellow Belt

    Joined:
    Mar 8, 2016
    Messages:
    300
    Ratings:
    +2 / -0
    Cookies data can be accessed by both client as well as by the server. Cookies data accessed by the server when client make the request of webpage. Where as local storage only accessed by the client.And It is only accessed by the server when client send the data to the server.
    The size of the cookies is 4095 byte where as size of the is 5 MB per domain.
     
  2. Pooja Sharma

    Yellow Belt

    Joined:
    Feb 5, 2016
    Messages:
    373
    Ratings:
    +20 / -0
    The best example of cookies can be taken as a browser. It stores your browsing history in the form of cookies. Local storage store large amount of data as compared to cookies. Local storage is not supported in the older version of the browsers. Local storage is basically a client side storage. The data on local storage can be changed from client side.
     
  3. niranjan kumar

    Yellow Belt

    Joined:
    Feb 12, 2016
    Messages:
    471
    Ratings:
    +13 / -0
    Local storage is prefer for storing local data in computer system and local server. but cookies are used in web browser that are used for storing temporary data. These data are most important for generating are delevingne some data web browser to web server.
     

Share This Page