Taiyi dev

Notes

Web Storage

CookiesLocal StorageSession Storage
Capacity~4kb>5mb>5mb
BrowserHTML 4/5HTML 5HTML 5
Accessible fromAny WindowsAny WindowsSame tab
ExpiresManually setNeverOn tab close
Storage LocationBrowser and ServerBrowser onlyBrowser only
Sent with requesetYesNoNo
+ document.cookie = "Secure; HttpOnly";

Secure: Inscure site(http) can't set cookies.
HttpOnly: Can't be modified by JavaScript, for example using Document.cookie

;