|
INTERVIEW QUESTIONS
WEB
WEB DEVELOPERS
DETAILS
Question: Describe the difference between Cookies, sessionStorage and localStorage?
Answer: Cookies are small text files that websites place in a browser for tracking or login purposes, and hold a modest amount of data. Meanwhile, localStorage and sessionStorage are new objects, both of which are storage specifications but vary in scope and duration. Local storage is more secure, and large amounts of data can be stored locally, without affecting website performance. Futhermore, is it permanent. sessionStorage only lasts as long as the duration of the longest open tab.
|
|
|
Category |
Web Developers Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 6906 users |
Added on |
8/31/2016 |
Views |
66851 |
Rate it! |
|
|
Question:
Describe the difference between Cookies, sessionStorage and localStorage?
Answer:
Cookies are small text files that websites place in a browser for tracking or login purposes, and hold a modest amount of data. Meanwhile, localStorage and sessionStorage are new objects, both of which are storage specifications but vary in scope and duration. Local storage is more secure, and large amounts of data can be stored locally, without affecting website performance. Futhermore, is it permanent. sessionStorage only lasts as long as the duration of the longest open tab. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What are some of the major new API?s that come standard with HTML5?
|
View Answer
|
|
What is the difference in Caching between HTML5 and HTML4?
|
View Answer
|
|
What is an Image Map?
|
View Answer
|
|
What is the advantage of collapsing White Space?
|
View Answer
|
|
Do all HTML elements need both opening and closing tags?
|
View Answer
|
|
What is a Marquee?
|
View Answer
|
|
How do you create links to sections within the same page?
|
View Answer
|
|
What are the possible ways to apply CSS styles to a web page?
|
View Answer
|
|
In HTML what tag can be used for a multi-line text input control?
|
View Answer
|
|
Mention what is the correct way to include JavaScript into your HTML?
|
View Answer
|
|
Explain what is DTD (Document Type Declaration)?
|
View Answer
|
|
Explain what is Long Polling?
|
View Answer
|
|
Explain what is an ETag and how does it work?
|
View Answer
|
|
List out the advantage of HTTP/2 as compared with HTTP 1.1?
|
View Answer
|
|
Explain what is Cross-Origin Resource Sharing (CORS)? How does it work?
|
View Answer
|
|
What web developer should know?
|
View Answer
|
|
Explain what are the key responsibilities of a Web Developer?
|
View Answer
|
|
Do you find any particular languages or technologies intimidating?
|
View Answer
|
|
What are a few personal web projects you have got going on?
|
View Answer
|
|
What is your favorite development language and why?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Web Developers Interview Questions & Answers - Exam Mode /
Learning Mode
|