Professional JavaScript for Web Developers 第四版學(xué)習(xí)筆記 CHAPTER 24:Client-Side Storage
Cookies 919
Restrictions 920
Cookie Parts 921
Cookies in JavaScript 922
Subcookies 925
Cookie Considerations 928
Web Storage 929
The Storage Type 929
The sessionStorage Object 930
The localStorage Object 932
The storage Event 932
Limits and Restrictions 933
IndexedDB 933
Databases 933
Object Stores 934
Transactions 935
Insertion 936
Querying with Cursors 937
Key Ranges 939
Setting Cursor Direction 940
Indexes 941
Concurrency Issues 943
Limits and Restrictions 943
Summary 944
--------------------------------------------------------
HTTP/1.1 200 OK
Content-type: text/html
Set-Cookie: name=value; expires=Mon, 22-Jan-07 07:10:24 GMT; domain=.wrox.com
Other-header: other-header-value
-------------------------------------------------------
document.cookie.indexOf(";", cookieStart);