Web Designing Question:
Download Questions PDF

Can you please explain the difference between cookies, session-Storage, and local-Storage?

Web Designer Interview Question
Web Designer Interview Question

Answer:

Cookies are small text files that websites place in a browser for tracking or login purposes. Meanwhile, local-Storage and session-Storage are new objects, both of which are storage specifications but vary in scope and duration. Of the two, local-Storage is permanent and website-specific whereas session-Storage only lasts as long as the duration of the longest open tab.

Download Web Designer Interview Questions And Answers PDF

Previous QuestionNext Question
Can you please explain the difference between SGML and HTML?Define w3c?