Amaresh Satapathy
Query: 22 / Answer: 28

10th Jun 2017 .

Explain what is the difference between cookies and local storage?


Answers

Pravash Ranjan Das
Query: 22 / Answer: 27

10th Jun 2017 .

Cookies

  Local Storage
Client Side/ Server Side Data accessible both at client side and server side.  The data is sent to the serverside with every cookie request. Only at the local browser side data is accessible.  Server cannot use local storage until deliberately sent a request to the server via POST or GET
Size Storage capacity of cookies is 4095 bytes/cookie Storage capacity of local storage is 5MB per domain
Expiration Cookies have expiration and cookie data gets deleted after some time There is no expiration and has to remove manually

 


  •  Information
  • About Forum

    This educational forum is produly developed by betaQsolutions-A leading software company in Odisha. This forum is developed to discuss the educational topics only betweeen the Students, teachers, Parents & Experts. Topic related to Career, Syllabus, Subjects, Questions, Exams etc are allowed to discuss here.

  • Statistics

    Total topics 43 • Total Query 1115 • Total members 247 • Total Answered 1286