Home
Recent Q&A
Java
Cloud
JavaScript
Python
SQL
PHP
HTML
C++
Data Science
DBMS
Devops
Hadoop
Machine Learning
Azure
Blockchain
Devops
Ask a Question
What are the differences between cookie, local storage and session storage in angularJS?
Home
Angular
What are the differences between cookie, local storage and session storage in angularJS?
0
votes
asked
Sep 29, 2023
in
Angular
by
JackTerrance
What are the differences between cookie, local storage and session storage in angularJS?
angularjs-interview-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Sep 29, 2023
by
JackTerrance
Below are some of the differences between cookie, local storage and session storage,
Feature
Cookie
Local storage
Session storage
Accessed on client or server side
Both server-side & client-side
client-side only
client-side only
Lifetime
As configured using Expires option
until deleted
until tab is closed
SSL support
Supported
Not supported
Not supported
Maximum data size
4KB
5 MB
5MB
...