0 votes
in Angular by
What are the differences between cookie, local storage and session storage in angularJS?

1 Answer

0 votes
by

Below are some of the differences between cookie, local storage and session storage,

FeatureCookieLocal storageSession storage
Accessed on client or server sideBoth server-side & client-sideclient-side onlyclient-side only
LifetimeAs configured using Expires optionuntil deleteduntil tab is closed
SSL supportSupportedNot supportedNot supported
Maximum data size4KB5 MB5MB
 

Related questions

0 votes
asked Sep 29, 2023 in Angular by JackTerrance
0 votes
asked Dec 16, 2023 in Angular by AdilsonLima
...