home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2000-08-04 | 11.6 KB | [TEXT/JyWs] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, bozo, Fri Aug 4 11:34:54 2000, modified Fri Aug 4 11:34:54 2000, creator 'JyWs', type ASCII, 9247 bytes "Cookie Example" , at 0x249f 2334 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
| |
100%
| xdgMime
| text/html
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [JyWs] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0e 43 6f 6f 6b 69 65 | 20 45 78 61 6d 70 6c 65 |..Cookie| Example|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4a 79 57 | 73 08 00 00 00 00 00 00 |.TEXTJyW|s.......|
|00000050| 00 00 00 00 00 24 1f 00 | 00 09 1e b5 b0 93 1e b5 |.....$..|........|
|00000060| b0 93 1e 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 df 7a 00 00 |........|.....z..|
|00000080| 3c 48 54 4d 4c 3e 0d 3c | 48 45 41 44 3e 0d 3c 54 |<HTML>.<|HEAD>.<T|
|00000090| 49 54 4c 45 3e 4a 61 76 | 61 53 63 72 69 70 74 20 |ITLE>Jav|aScript |
|000000a0| 43 6f 6f 6b 69 65 73 20 | 44 65 6d 6f 3c 2f 54 49 |Cookies |Demo</TI|
|000000b0| 54 4c 45 3e 0d 0d 3c 53 | 43 52 49 50 54 20 4c 41 |TLE>..<S|CRIPT LA|
|000000c0| 4e 47 55 41 47 45 3d 22 | 4a 61 76 61 53 63 72 69 |NGUAGE="|JavaScri|
|000000d0| 70 74 22 3e 0d 3c 21 2d | 2d 0d 2f 2a 20 0d 09 43 |pt">.<!-|-./* ..C|
|000000e0| 6f 6f 6b 69 65 73 20 44 | 65 6d 6f 0d 09 42 79 20 |ookies D|emo..By |
|000000f0| 4a 65 72 72 79 20 41 6d | 61 6e 2c 20 4f 70 74 69 |Jerry Am|an, Opti|
|00000100| 6d 61 20 53 79 73 74 65 | 6d 2c 20 4a 75 6c 79 20 |ma Syste|m, July |
|00000110| 32 38 2c 20 31 39 39 36 | 2e 0d 20 20 20 09 43 6f |28, 1996|.. .Co|
|00000120| 6f 6b 69 65 20 46 75 6e | 63 74 69 6f 6e 73 20 77 |okie Fun|ctions w|
|00000130| 72 69 74 74 65 6e 20 62 | 79 20 42 69 6c 6c 20 44 |ritten b|y Bill D|
|00000140| 6f 72 74 63 68 2c 20 68 | 49 64 61 68 6f 20 44 65 |ortch, h|Idaho De|
|00000150| 73 69 67 6e 2e 0d 0d 09 | 50 61 72 74 20 6f 66 20 |sign....|Part of |
|00000160| 74 68 65 20 50 61 67 65 | 53 70 69 6e 6e 65 72 20 |the Page|Spinner |
|00000170| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 2e 0d 0d 09 |distribu|tion....|
|00000180| 57 65 20 77 69 6c 6c 20 | 6e 6f 74 20 62 65 20 68 |We will |not be h|
|00000190| 65 6c 64 20 72 65 73 70 | 6f 6e 73 69 62 6c 65 20 |eld resp|onsible |
|000001a0| 66 6f 72 20 61 6e 79 20 | 75 6e 77 61 6e 74 65 64 |for any |unwanted|
|000001b0| 20 0d 09 65 66 66 65 63 | 74 73 20 64 75 65 20 74 | ..effec|ts due t|
|000001c0| 6f 20 74 68 65 20 75 73 | 61 67 65 20 6f 66 20 74 |o the us|age of t|
|000001d0| 68 69 73 20 73 63 72 69 | 70 74 20 6f 72 20 61 6e |his scri|pt or an|
|000001e0| 79 20 64 65 72 69 76 61 | 74 69 76 65 2e 20 20 0d |y deriva|tive. .|
|000001f0| 09 4e 6f 20 77 61 72 72 | 61 6e 74 65 65 73 20 66 |.No warr|antees f|
|00000200| 6f 72 20 75 73 61 62 69 | 6c 69 74 79 20 66 6f 72 |or usabi|lity for|
|00000210| 20 61 6e 79 20 73 70 65 | 63 69 66 69 63 20 61 70 | any spe|cific ap|
|00000220| 70 6c 69 63 61 74 69 6f | 6e 20 0d 09 61 72 65 20 |plicatio|n ..are |
|00000230| 67 69 76 65 6e 20 6f 72 | 20 69 6d 70 6c 69 65 64 |given or| implied|
|00000240| 2e 0d 0d 09 59 6f 75 20 | 61 72 65 20 66 72 65 65 |....You |are free|
|00000250| 20 74 6f 20 75 73 65 20 | 61 6e 64 20 6d 6f 64 69 | to use |and modi|
|00000260| 66 79 20 74 68 69 73 20 | 73 63 72 69 70 74 2c 0d |fy this |script,.|
|00000270| 09 69 66 20 63 72 65 64 | 69 74 73 20 61 72 65 20 |.if cred|its are |
|00000280| 6b 65 70 74 20 69 6e 20 | 74 68 65 20 73 6f 75 72 |kept in |the sour|
|00000290| 63 65 20 63 6f 64 65 0d | 2a 2f 0d 0d 09 76 61 72 |ce code.|*/...var|
|000002a0| 20 63 6f 6f 6b 69 65 56 | 69 73 69 74 49 44 20 09 | cookieV|isitID .|
|000002b0| 3d 20 27 6d 79 5f 4c 61 | 73 74 56 69 73 69 74 27 |= 'my_La|stVisit'|
|000002c0| 3b 09 0d 09 76 61 72 20 | 63 6f 6f 6b 69 65 4e 75 |;...var |cookieNu|
|000002d0| 6d 56 69 73 69 74 49 44 | 20 09 3d 20 27 6d 79 5f |mVisitID| .= 'my_|
|000002e0| 4e 75 6d 56 69 73 69 74 | 73 27 3b 09 0d 0d 09 09 |NumVisit|s';.....|
|000002f0| 09 09 09 09 2f 2f 20 43 | 68 61 6e 67 65 20 27 6d |....// C|hange 'm|
|00000300| 79 5f 4c 61 73 74 56 69 | 73 69 74 27 20 61 6e 64 |y_LastVi|sit' and|
|00000310| 20 27 6d 79 5f 4e 75 6d | 56 69 73 69 74 73 27 0d | 'my_Num|Visits'.|
|00000320| 09 09 09 09 09 09 2f 2f | 20 74 6f 20 73 6f 6d 65 |......//| to some|
|00000330| 74 68 69 6e 67 20 75 6e | 69 71 75 65 20 66 6f 72 |thing un|ique for|
|00000340| 0d 09 09 09 09 09 09 2f | 2f 20 74 68 65 20 63 75 |......./|/ the cu|
|00000350| 72 72 65 6e 74 20 70 61 | 67 65 2c 20 6f 72 20 65 |rrent pa|ge, or e|
|00000360| 6c 73 65 20 69 74 0d 09 | 09 09 09 09 09 2f 2f 20 |lse it..|.....// |
|00000370| 77 6f 6e 27 74 20 77 6f | 72 6b 20 63 6f 72 72 65 |won't wo|rk corre|
|00000380| 63 74 6c 79 20 69 66 20 | 6f 74 68 65 72 20 75 73 |ctly if |other us|
|00000390| 65 73 0d 09 09 09 09 09 | 09 2f 2f 20 74 68 69 73 |es......|.// this|
|000003a0| 20 73 63 72 69 70 74 21 | 0d 09 76 61 72 20 67 4c | script!|..var gL|
|000003b0| 61 73 74 56 69 73 69 74 | 3b 0d 09 76 61 72 20 67 |astVisit|;..var g|
|000003c0| 4e 75 6d 56 69 73 69 74 | 73 3b 0d 0d 09 53 65 74 |NumVisit|s;...Set|
|000003d0| 4c 61 73 74 56 69 73 69 | 74 28 29 3b 09 2f 2f 20 |LastVisi|t();.// |
|000003e0| 45 78 65 63 75 74 65 20 | 77 68 65 6e 20 6c 6f 61 |Execute |when loa|
|000003f0| 64 69 6e 67 20 70 61 67 | 65 0d 0d 09 66 75 6e 63 |ding pag|e...func|
|00000400| 74 69 6f 6e 20 47 65 74 | 4c 61 73 74 56 69 73 69 |tion Get|LastVisi|
|00000410| 74 20 28 29 0d 09 7b 0d | 0d 09 09 69 66 20 28 20 |t ()..{.|...if ( |
|00000420| 67 4c 61 73 74 56 69 73 | 69 74 20 3d 3d 20 22 22 |gLastVis|it == ""|
|00000430| 29 0d 09 09 7b 0d 09 09 | 09 72 65 74 75 72 6e 20 |)...{...|.return |
|00000440| 22 57 65 6c 63 6f 6d 65 | 20 74 6f 20 74 68 69 73 |"Welcome| to this|
|00000450| 20 73 69 74 65 21 22 3b | 0d 09 09 7d 0d 09 09 65 | site!";|...}...e|
|00000460| 6c 73 65 20 0d 09 09 7b | 0d 09 09 09 76 61 72 20 |lse ...{|....var |
|00000470| 6f 6c 64 56 69 73 69 74 | 44 61 74 65 20 3d 20 6e |oldVisit|Date = n|
|00000480| 65 77 20 44 61 74 65 28 | 67 4c 61 73 74 56 69 73 |ew Date(|gLastVis|
|00000490| 69 74 29 3b 0d 09 09 09 | 72 65 74 75 72 6e 20 09 |it);....|return .|
|000004a0| 22 57 65 6c 63 6f 6d 65 | 20 62 61 63 6b 2c 20 79 |"Welcome| back, y|
|000004b0| 6f 75 72 20 6c 61 73 74 | 20 76 69 73 69 74 20 74 |our last| visit t|
|000004c0| 6f 20 74 68 69 73 20 73 | 69 74 65 20 77 61 73 20 |o this s|ite was |
|000004d0| 6f 6e 20 22 20 0d 09 09 | 09 09 09 2b 20 67 4c 61 |on " ...|...+ gLa|
|000004e0| 73 74 56 69 73 69 74 20 | 2b 22 2e 3c 42 52 3e 59 |stVisit |+".<BR>Y|
|000004f0| 6f 75 20 68 61 76 65 20 | 62 65 65 6e 20 68 65 72 |ou have |been her|
|00000500| 65 20 22 20 0d 09 09 09 | 09 09 2b 20 67 4e 75 6d |e " ....|..+ gNum|
|00000510| 56 69 73 69 74 73 20 2b | 20 22 20 74 69 6d 65 22 |Visits +| " time"|
|00000520| 20 2b 28 67 4e 75 6d 56 | 69 73 69 74 73 3e 31 20 | +(gNumV|isits>1 |
|00000530| 3f 20 22 73 22 20 3a 22 | 22 29 20 0d 09 09 09 09 |? "s" :"|") .....|
|00000540| 09 2b 22 20 62 65 66 6f | 72 65 2e 22 0d 09 09 7d |.+" befo|re."...}|
|00000550| 0d 09 7d 0d 0d 0d 09 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000560| 53 65 74 4c 61 73 74 56 | 69 73 69 74 20 28 6e 61 |SetLastV|isit (na|
|00000570| 6d 65 2c 20 76 61 6c 75 | 65 29 20 0d 09 7b 0d 09 |me, valu|e) ..{..|
|00000580| 09 76 61 72 20 6e 65 77 | 56 69 73 69 74 44 61 74 |.var new|VisitDat|
|00000590| 65 20 3d 20 6e 65 77 20 | 44 61 74 65 28 29 3b 0d |e = new |Date();.|
|000005a0| 09 09 76 61 72 20 65 78 | 70 44 61 74 65 20 3d 20 |..var ex|pDate = |
|000005b0| 6e 65 77 20 44 61 74 65 | 20 28 29 3b 20 0d 09 09 |new Date| (); ...|
|000005c0| 76 61 72 20 6e 75 6d 56 | 69 73 69 74 73 20 3d 20 |var numV|isits = |
|000005d0| 30 3b 0d 0d 09 09 09 2f | 2f 20 54 68 65 20 65 78 |0;...../|/ The ex|
|000005e0| 70 44 61 74 65 20 69 73 | 20 74 68 65 20 64 61 74 |pDate is| the dat|
|000005f0| 65 20 77 68 65 6e 20 74 | 68 65 20 63 6f 6f 6b 69 |e when t|he cooki|
|00000600| 65 20 73 68 6f 75 6c 64 | 0d 09 09 09 2f 2f 20 65 |e should|....// e|
|00000610| 78 70 69 72 65 2c 20 77 | 65 20 77 69 6c 6c 20 6b |xpire, w|e will k|
|00000620| 65 65 70 20 69 74 20 66 | 6f 72 20 61 20 79 65 61 |eep it f|or a yea|
|00000630| 72 0d 09 09 65 78 70 44 | 61 74 65 2e 73 65 74 54 |r...expD|ate.setT|
|00000640| 69 6d 65 28 20 65 78 70 | 44 61 74 65 2e 67 65 74 |ime( exp|Date.get|
|00000650| 54 69 6d 65 28 29 20 2b | 20 28 33 36 35 20 2a 20 |Time() +| (365 * |
|00000660| 32 34 20 2a 20 36 30 20 | 2a 20 36 30 20 2a 20 31 |24 * 60 |* 60 * 1|
|00000670| 30 30 30 29 20 29 3b 20 | 0d 0d 09 09 09 2f 2f 20 |000) ); |.....// |
|00000680| 49 6e 66 6f 20 61 62 6f | 75 74 20 6c 61 73 74 20 |Info abo|ut last |
|00000690| 76 69 73 69 74 0d 09 09 | 69 66 20 28 47 65 74 43 |visit...|if (GetC|
|000006a0| 6f 6f 6b 69 65 20 28 63 | 6f 6f 6b 69 65 56 69 73 |ookie (c|ookieVis|
|000006b0| 69 74 49 44 29 20 21 3d | 20 6e 75 6c 6c 29 0d 09 |itID) !=| null)..|
|000006c0| 09 09 67 4c 61 73 74 56 | 69 73 69 74 20 3d 20 47 |..gLastV|isit = G|
|000006d0| 65 74 43 6f 6f 6b 69 65 | 20 28 63 6f 6f 6b 69 65 |etCookie| (cookie|
|000006e0| 56 69 73 69 74 49 44 29 | 3b 0d 09 09 65 6c 73 65 |VisitID)|;...else|
|000006f0| 0d 09 09 09 67 4c 61 73 | 74 56 69 73 69 74 20 3d |....gLas|tVisit =|
|00000700| 20 22 22 3b 0d 0d 09 09 | 69 66 20 28 47 65 74 43 | "";....|if (GetC|
|00000710| 6f 6f 6b 69 65 20 28 63 | 6f 6f 6b 69 65 4e 75 6d |ookie (c|ookieNum|
|00000720| 56 69 73 69 74 49 44 29 | 20 21 3d 20 6e 75 6c 6c |VisitID)| != null|
|00000730| 29 0d 09 09 09 67 4e 75 | 6d 56 69 73 69 74 73 20 |)....gNu|mVisits |
|00000740| 3d 20 47 65 74 43 6f 6f | 6b 69 65 20 28 63 6f 6f |= GetCoo|kie (coo|
|00000750| 6b 69 65 4e 75 6d 56 69 | 73 69 74 49 44 29 3b 09 |kieNumVi|sitID);.|
|00000760| 0d 09 09 65 6c 73 65 0d | 09 09 09 67 4e 75 6d 56 |...else.|...gNumV|
|00000770| 69 73 69 74 73 20 3d 20 | 30 3b 0d 0d 09 09 09 2f |isits = |0;...../|
|00000780| 2f 20 55 73 65 20 65 76 | 61 6c 28 29 20 74 6f 20 |/ Use ev|al() to |
|00000790| 63 6f 6e 76 65 72 74 20 | 61 20 73 74 72 69 6e 67 |convert |a string|
|000007a0| 20 74 6f 20 61 20 6e 75 | 6d 62 65 72 0d 09 09 6e | to a nu|mber...n|
|000007b0| 75 6d 56 69 73 69 74 73 | 20 3d 20 65 76 61 6c 28 |umVisits| = eval(|
|000007c0| 67 4e 75 6d 56 69 73 69 | 74 73 29 20 2b 31 3b 09 |gNumVisi|ts) +1;.|
|000007d0| 0d 0d 09 09 09 2f 2f 20 | 53 74 6f 72 65 20 69 6e |.....// |Store in|
|000007e0| 66 6f 20 61 62 6f 75 74 | 20 74 68 69 73 20 76 69 |fo about| this vi|
|000007f0| 73 69 74 0d 09 09 53 65 | 74 43 6f 6f 6b 69 65 28 |sit...Se|tCookie(|
|00000800| 20 63 6f 6f 6b 69 65 56 | 69 73 69 74 49 44 2c 20 | cookieV|isitID, |
|00000810| 09 6e 65 77 56 69 73 69 | 74 44 61 74 65 2c 20 65 |.newVisi|tDate, e|
|00000820| 78 70 44 61 74 65 29 3b | 20 0d 09 09 53 65 74 43 |xpDate);| ...SetC|
|00000830| 6f 6f 6b 69 65 28 20 63 | 6f 6f 6b 69 65 4e 75 6d |ookie( c|ookieNum|
|00000840| 56 69 73 69 74 49 44 2c | 20 6e 75 6d 56 69 73 69 |VisitID,| numVisi|
|00000850| 74 73 2c 20 65 78 70 44 | 61 74 65 29 3b 20 0d 09 |ts, expD|ate); ..|
|00000860| 7d 0d 0d 20 20 20 20 2f | 2f 20 2d 2d 2d 2d 2d 2d |}.. /|/ ------|
|00000870| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000880| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000890| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000008a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 20 20 20 20 2f 2f |--------|-. //|
|000008b0| 20 20 43 6f 6f 6b 69 65 | 20 46 75 6e 63 74 69 6f | Cookie| Functio|
|000008c0| 6e 73 20 2d 20 53 65 63 | 6f 6e 64 20 48 65 6c 70 |ns - Sec|ond Help|
|000008d0| 69 6e 67 20 20 28 32 31 | 2d 4a 61 6e 2d 39 36 29 |ing (21|-Jan-96)|
|000008e0| 0d 20 20 20 20 2f 2f 20 | 20 57 72 69 74 74 65 6e |. // | Written|
|000008f0| 20 62 79 3a 20 20 42 69 | 6c 6c 20 44 6f 72 74 63 | by: Bi|ll Dortc|
|00000900| 68 2c 20 68 49 64 61 68 | 6f 20 44 65 73 69 67 6e |h, hIdah|o Design|
|00000910| 20 3c 42 44 4f 52 54 43 | 48 40 4e 45 54 57 2e 43 | <BDORTC|H@NETW.C|
|00000920| 4f 4d 3e 0d 20 20 20 20 | 2f 2f 20 20 54 68 65 20 |OM>. |// The |
|00000930| 66 6f 6c 6c 6f 77 69 6e | 67 20 66 75 6e 63 74 69 |followin|g functi|
|00000940| 6f 6e 73 20 61 72 65 20 | 72 65 6c 65 61 73 65 64 |ons are |released|
|00000950| 20 74 6f 20 74 68 65 20 | 70 75 62 6c 69 63 20 64 | to the |public d|
|00000960| 6f 6d 61 69 6e 2e 0d 20 | 20 20 20 2f 2f 0d 20 20 |omain.. | //. |
|00000970| 20 20 2f 2f 20 20 54 68 | 65 20 53 65 63 6f 6e 64 | // Th|e Second|
|00000980| 20 48 65 6c 70 69 6e 67 | 20 76 65 72 73 69 6f 6e | Helping| version|
|00000990| 20 6f 66 20 74 68 65 20 | 63 6f 6f 6b 69 65 20 66 | of the |cookie f|
|000009a0| 75 6e 63 74 69 6f 6e 73 | 20 64 69 73 70 65 6e 73 |unctions| dispens|
|000009b0| 65 73 20 77 69 74 68 0d | 20 20 20 20 2f 2f 20 20 |es with.| // |
|000009c0| 6d 79 20 65 6e 63 6f 64 | 65 20 61 6e 64 20 64 65 |my encod|e and de|
|000009d0| 63 6f 64 65 20 66 75 6e | 63 74 69 6f 6e 73 2c 20 |code fun|ctions, |
|000009e0| 69 6e 20 66 61 76 6f 72 | 20 6f 66 20 4a 61 76 61 |in favor| of Java|
|000009f0| 53 63 72 69 70 74 27 73 | 20 6e 65 77 20 62 75 69 |Script's| new bui|
|00000a00| 6c 74 2d 69 6e 0d 20 20 | 20 20 2f 2f 20 20 65 73 |lt-in. | // es|
|00000a10| 63 61 70 65 20 61 6e 64 | 20 75 6e 65 73 63 61 70 |cape and| unescap|
|00000a20| 65 20 66 75 6e 63 74 69 | 6f 6e 73 2c 20 77 68 69 |e functi|ons, whi|
|00000a30| 63 68 20 64 6f 20 6d 6f | 72 65 20 63 6f 6d 70 6c |ch do mo|re compl|
|00000a40| 65 74 65 20 65 6e 63 6f | 64 69 6e 67 2c 20 61 6e |ete enco|ding, an|
|00000a50| 64 0d 20 20 20 20 2f 2f | 20 20 77 68 69 63 68 20 |d. //| which |
|00000a60| 61 72 65 20 70 72 6f 62 | 61 62 6c 79 20 6d 75 63 |are prob|ably muc|
|00000a70| 68 20 66 61 73 74 65 72 | 2e 0d 20 20 20 20 2f 2f |h faster|.. //|
|00000a80| 0d 20 20 20 20 2f 2f 20 | 20 54 68 65 20 6e 65 77 |. // | The new|
|00000a90| 20 76 65 72 73 69 6f 6e | 20 61 6c 73 6f 20 65 78 | version| also ex|
|00000aa0| 74 65 6e 64 73 20 74 68 | 65 20 53 65 74 43 6f 6f |tends th|e SetCoo|
|00000ab0| 6b 69 65 20 66 75 6e 63 | 74 69 6f 6e 2c 20 74 68 |kie func|tion, th|
|00000ac0| 6f 75 67 68 20 69 6e 0d | 20 20 20 20 2f 2f 20 20 |ough in.| // |
|00000ad0| 61 20 62 61 63 6b 77 61 | 72 64 2d 63 6f 6d 70 61 |a backwa|rd-compa|
|00000ae0| 74 69 62 6c 65 20 6d 61 | 6e 6e 65 72 2c 20 73 6f |tible ma|nner, so|
|00000af0| 20 69 66 20 79 6f 75 20 | 75 73 65 64 20 74 68 65 | if you |used the|
|00000b00| 20 46 69 72 73 74 20 48 | 65 6c 70 69 6e 67 20 6f | First H|elping o|
|00000b10| 66 0d 20 20 20 20 2f 2f | 20 20 63 6f 6f 6b 69 65 |f. //| cookie|
|00000b20| 20 66 75 6e 63 74 69 6f | 6e 73 20 61 73 20 74 68 | functio|ns as th|
|00000b30| 65 79 20 77 65 72 65 20 | 77 72 69 74 74 65 6e 2c |ey were |written,|
|00000b40| 20 79 6f 75 20 77 69 6c | 6c 20 6e 6f 74 20 6e 65 | you wil|l not ne|
|00000b50| 65 64 20 74 6f 20 63 68 | 61 6e 67 65 20 61 6e 79 |ed to ch|ange any|
|00000b60| 0d 20 20 20 20 2f 2f 20 | 20 63 6f 64 65 2c 20 75 |. // | code, u|
|00000b70| 6e 6c 65 73 73 20 79 6f | 75 20 77 61 6e 74 20 74 |nless yo|u want t|
|00000b80| 6f 20 74 61 6b 65 20 61 | 64 76 61 6e 74 61 67 65 |o take a|dvantage|
|00000b90| 20 6f 66 20 74 68 65 20 | 6e 65 77 20 63 61 70 61 | of the |new capa|
|00000ba0| 62 69 6c 69 74 69 65 73 | 2e 0d 20 20 20 20 2f 2f |bilities|.. //|
|00000bb0| 0d 20 20 20 20 2f 2f 20 | 20 54 68 65 20 66 6f 6c |. // | The fol|
|00000bc0| 6c 6f 77 69 6e 67 20 63 | 68 61 6e 67 65 73 20 77 |lowing c|hanges w|
|00000bd0| 65 72 65 20 6d 61 64 65 | 20 74 6f 20 53 65 74 43 |ere made| to SetC|
|00000be0| 6f 6f 6b 69 65 3a 0d 20 | 20 20 20 2f 2f 0d 20 20 |ookie:. | //. |
|00000bf0| 20 20 2f 2f 20 20 31 2e | 20 20 54 68 65 20 65 78 | // 1.| The ex|
|00000c00| 70 69 72 65 73 20 70 61 | 72 61 6d 65 74 65 72 20 |pires pa|rameter |
|00000c10| 69 73 20 6e 6f 77 20 6f | 70 74 69 6f 6e 61 6c 20 |is now o|ptional |
|00000c20| 2d 20 74 68 61 74 20 69 | 73 2c 20 79 6f 75 20 63 |- that i|s, you c|
|00000c30| 61 6e 20 6f 6d 69 74 0d | 20 20 20 20 2f 2f 20 20 |an omit.| // |
|00000c40| 20 20 20 20 69 74 20 69 | 6e 73 74 65 61 64 20 6f | it i|nstead o|
|00000c50| 66 20 70 61 73 73 69 6e | 67 20 69 74 20 6e 75 6c |f passin|g it nul|
|00000c60| 6c 20 74 6f 20 65 78 70 | 69 72 65 20 74 68 65 20 |l to exp|ire the |
|00000c70| 63 6f 6f 6b 69 65 20 61 | 74 20 74 68 65 20 65 6e |cookie a|t the en|
|00000c80| 64 0d 20 20 20 20 2f 2f | 20 20 20 20 20 20 6f 66 |d. //| of|
|00000c90| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 65 73 | the cur|rent ses|
|00000ca0| 73 69 6f 6e 2e 0d 20 20 | 20 20 2f 2f 0d 20 20 20 |sion.. | //. |
|00000cb0| 20 2f 2f 20 20 32 2e 20 | 20 41 6e 20 6f 70 74 69 | // 2. | An opti|
|00000cc0| 6f 6e 61 6c 20 70 61 74 | 68 20 70 61 72 61 6d 65 |onal pat|h parame|
|00000cd0| 74 65 72 20 68 61 73 20 | 62 65 65 6e 20 61 64 64 |ter has |been add|
|00000ce0| 65 64 2e 0d 20 20 20 20 | 2f 2f 0d 20 20 20 20 2f |ed.. |//. /|
|00000cf0| 2f 20 20 33 2e 20 20 41 | 6e 20 6f 70 74 69 6f 6e |/ 3. A|n option|
|00000d00| 61 6c 20 64 6f 6d 61 69 | 6e 20 70 61 72 61 6d 65 |al domai|n parame|
|00000d10| 74 65 72 20 68 61 73 20 | 62 65 65 6e 20 61 64 64 |ter has |been add|
|00000d20| 65 64 2e 0d 20 20 20 20 | 2f 2f 0d 20 20 20 20 2f |ed.. |//. /|
|00000d30| 2f 20 20 34 2e 20 20 41 | 6e 20 6f 70 74 69 6f 6e |/ 4. A|n option|
|00000d40| 61 6c 20 73 65 63 75 72 | 65 20 70 61 72 61 6d 65 |al secur|e parame|
|00000d50| 74 65 72 20 68 61 73 20 | 62 65 65 6e 20 61 64 64 |ter has |been add|
|00000d60| 65 64 2e 0d 20 20 20 20 | 2f 2f 0d 20 20 20 20 2f |ed.. |//. /|
|00000d70| 2f 20 20 46 6f 72 20 69 | 6e 66 6f 72 6d 61 74 69 |/ For i|nformati|
|00000d80| 6f 6e 20 6f 6e 20 74 68 | 65 20 73 69 67 6e 69 66 |on on th|e signif|
|00000d90| 69 63 61 6e 63 65 20 6f | 66 20 74 68 65 73 65 20 |icance o|f these |
|00000da0| 70 61 72 61 6d 65 74 65 | 72 73 2c 20 61 6e 64 0d |paramete|rs, and.|
|00000db0| 20 20 20 20 2f 2f 20 20 | 61 6e 64 20 6f 6e 20 63 | // |and on c|
|00000dc0| 6f 6f 6b 69 65 73 20 69 | 6e 20 67 65 6e 65 72 61 |ookies i|n genera|
|00000dd0| 6c 2c 20 70 6c 65 61 73 | 65 20 72 65 66 65 72 20 |l, pleas|e refer |
|00000de0| 74 6f 20 74 68 65 20 6f | 66 66 69 63 69 61 6c 20 |to the o|fficial |
|00000df0| 63 6f 6f 6b 69 65 0d 20 | 20 20 20 2f 2f 20 20 73 |cookie. | // s|
|00000e00| 70 65 63 2c 20 61 74 3a | 0d 20 20 20 20 2f 2f 0d |pec, at:|. //.|
|00000e10| 20 20 20 20 2f 2f 20 20 | 20 20 20 20 68 74 74 70 | // | http|
|00000e20| 3a 2f 2f 77 77 77 2e 6e | 65 74 73 63 61 70 65 2e |://www.n|etscape.|
|00000e30| 63 6f 6d 2f 6e 65 77 73 | 72 65 66 2f 73 74 64 2f |com/news|ref/std/|
|00000e40| 63 6f 6f 6b 69 65 5f 73 | 70 65 63 2e 68 74 6d 6c |cookie_s|pec.html|
|00000e50| 20 20 20 20 0d 20 20 20 | 20 2f 2f 0d 20 20 20 20 | . | //. |
|00000e60| 2f 2f 0d 20 20 20 20 2f | 2f 20 22 49 6e 74 65 72 |//. /|/ "Inter|
|00000e70| 6e 61 6c 22 20 66 75 6e | 63 74 69 6f 6e 20 74 6f |nal" fun|ction to|
|00000e80| 20 72 65 74 75 72 6e 20 | 74 68 65 20 64 65 63 6f | return |the deco|
|00000e90| 64 65 64 20 76 61 6c 75 | 65 20 6f 66 20 61 20 63 |ded valu|e of a c|
|00000ea0| 6f 6f 6b 69 65 0d 20 20 | 20 20 2f 2f 0d 20 20 20 |ookie. | //. |
|00000eb0| 20 66 75 6e 63 74 69 6f | 6e 20 67 65 74 43 6f 6f | functio|n getCoo|
|00000ec0| 6b 69 65 56 61 6c 20 28 | 6f 66 66 73 65 74 29 20 |kieVal (|offset) |
|00000ed0| 7b 0d 20 20 20 20 20 20 | 76 61 72 20 65 6e 64 73 |{. |var ends|
|00000ee0| 74 72 20 3d 20 64 6f 63 | 75 6d 65 6e 74 2e 63 6f |tr = doc|ument.co|
|00000ef0| 6f 6b 69 65 2e 69 6e 64 | 65 78 4f 66 20 28 22 3b |okie.ind|exOf (";|
|00000f00| 22 2c 20 6f 66 66 73 65 | 74 29 3b 0d 20 20 20 20 |", offse|t);. |
|00000f10| 20 20 69 66 20 28 65 6e | 64 73 74 72 20 3d 3d 20 | if (en|dstr == |
|00000f20| 2d 31 29 0d 20 20 20 20 | 20 20 20 20 65 6e 64 73 |-1). | ends|
|00000f30| 74 72 20 3d 20 64 6f 63 | 75 6d 65 6e 74 2e 63 6f |tr = doc|ument.co|
|00000f40| 6f 6b 69 65 2e 6c 65 6e | 67 74 68 3b 0d 20 20 20 |okie.len|gth;. |
|00000f50| 20 20 20 72 65 74 75 72 | 6e 20 75 6e 65 73 63 61 | retur|n unesca|
|00000f60| 70 65 28 64 6f 63 75 6d | 65 6e 74 2e 63 6f 6f 6b |pe(docum|ent.cook|
|00000f70| 69 65 2e 73 75 62 73 74 | 72 69 6e 67 28 6f 66 66 |ie.subst|ring(off|
|00000f80| 73 65 74 2c 20 65 6e 64 | 73 74 72 29 29 3b 0d 20 |set, end|str));. |
|00000f90| 20 20 20 7d 0d 0d 20 20 | 20 20 2f 2f 0d 20 20 20 | }.. | //. |
|00000fa0| 20 2f 2f 20 20 46 75 6e | 63 74 69 6f 6e 20 74 6f | // Fun|ction to|
|00000fb0| 20 72 65 74 75 72 6e 20 | 74 68 65 20 76 61 6c 75 | return |the valu|
|00000fc0| 65 20 6f 66 20 74 68 65 | 20 63 6f 6f 6b 69 65 20 |e of the| cookie |
|00000fd0| 73 70 65 63 69 66 69 65 | 64 20 62 79 20 22 6e 61 |specifie|d by "na|
|00000fe0| 6d 65 22 2e 0d 20 20 20 | 20 2f 2f 20 20 20 20 6e |me".. | // n|
|00000ff0| 61 6d 65 20 2d 20 53 74 | 72 69 6e 67 20 6f 62 6a |ame - St|ring obj|
|00001000| 65 63 74 20 63 6f 6e 74 | 61 69 6e 69 6e 67 20 74 |ect cont|aining t|
|00001010| 68 65 20 63 6f 6f 6b 69 | 65 20 6e 61 6d 65 2e 0d |he cooki|e name..|
|00001020| 20 20 20 20 2f 2f 20 20 | 20 20 72 65 74 75 72 6e | // | return|
|00001030| 73 20 2d 20 53 74 72 69 | 6e 67 20 6f 62 6a 65 63 |s - Stri|ng objec|
|00001040| 74 20 63 6f 6e 74 61 69 | 6e 69 6e 67 20 74 68 65 |t contai|ning the|
|00001050| 20 63 6f 6f 6b 69 65 20 | 76 61 6c 75 65 2c 20 6f | cookie |value, o|
|00001060| 72 20 6e 75 6c 6c 20 69 | 66 0d 20 20 20 20 2f 2f |r null i|f. //|
|00001070| 20 20 20 20 20 20 74 68 | 65 20 63 6f 6f 6b 69 65 | th|e cookie|
|00001080| 20 64 6f 65 73 20 6e 6f | 74 20 65 78 69 73 74 2e | does no|t exist.|
|00001090| 0d 20 20 20 20 2f 2f 0d | 20 20 20 20 66 75 6e 63 |. //.| func|
|000010a0| 74 69 6f 6e 20 47 65 74 | 43 6f 6f 6b 69 65 20 28 |tion Get|Cookie (|
|000010b0| 6e 61 6d 65 29 20 7b 0d | 20 20 20 20 20 20 76 61 |name) {.| va|
|000010c0| 72 20 61 72 67 20 3d 20 | 6e 61 6d 65 20 2b 20 22 |r arg = |name + "|
|000010d0| 3d 22 3b 0d 20 20 20 20 | 20 20 76 61 72 20 61 6c |=";. | var al|
|000010e0| 65 6e 20 3d 20 61 72 67 | 2e 6c 65 6e 67 74 68 3b |en = arg|.length;|
|000010f0| 0d 20 20 20 20 20 20 76 | 61 72 20 63 6c 65 6e 20 |. v|ar clen |
|00001100| 3d 20 64 6f 63 75 6d 65 | 6e 74 2e 63 6f 6f 6b 69 |= docume|nt.cooki|
|00001110| 65 2e 6c 65 6e 67 74 68 | 3b 0d 20 20 20 20 20 20 |e.length|;. |
|00001120| 76 61 72 20 69 20 3d 20 | 30 3b 0d 20 20 20 20 20 |var i = |0;. |
|00001130| 20 77 68 69 6c 65 20 28 | 69 20 3c 20 63 6c 65 6e | while (|i < clen|
|00001140| 29 20 7b 0d 20 20 20 20 | 20 20 20 20 76 61 72 20 |) {. | var |
|00001150| 6a 20 3d 20 69 20 2b 20 | 61 6c 65 6e 3b 0d 20 20 |j = i + |alen;. |
|00001160| 20 20 20 20 20 20 69 66 | 20 28 64 6f 63 75 6d 65 | if| (docume|
|00001170| 6e 74 2e 63 6f 6f 6b 69 | 65 2e 73 75 62 73 74 72 |nt.cooki|e.substr|
|00001180| 69 6e 67 28 69 2c 20 6a | 29 20 3d 3d 20 61 72 67 |ing(i, j|) == arg|
|00001190| 29 0d 20 20 20 20 20 20 | 20 20 20 20 72 65 74 75 |). | retu|
|000011a0| 72 6e 20 67 65 74 43 6f | 6f 6b 69 65 56 61 6c 20 |rn getCo|okieVal |
|000011b0| 28 6a 29 3b 0d 20 20 20 | 20 20 20 20 20 69 20 3d |(j);. | i =|
|000011c0| 20 64 6f 63 75 6d 65 6e | 74 2e 63 6f 6f 6b 69 65 | documen|t.cookie|
|000011d0| 2e 69 6e 64 65 78 4f 66 | 28 22 20 22 2c 20 69 29 |.indexOf|(" ", i)|
|000011e0| 20 2b 20 31 3b 0d 20 20 | 20 20 20 20 20 20 69 66 | + 1;. | if|
|000011f0| 20 28 69 20 3d 3d 20 30 | 29 20 62 72 65 61 6b 3b | (i == 0|) break;|
|00001200| 20 0d 20 20 20 20 20 20 | 7d 0d 20 20 20 20 20 20 | . |}. |
|00001210| 72 65 74 75 72 6e 20 6e | 75 6c 6c 3b 0d 20 20 20 |return n|ull;. |
|00001220| 20 7d 0d 0d 20 20 20 20 | 2f 2f 0d 20 20 20 20 2f | }.. |//. /|
|00001230| 2f 20 20 46 75 6e 63 74 | 69 6f 6e 20 74 6f 20 63 |/ Funct|ion to c|
|00001240| 72 65 61 74 65 20 6f 72 | 20 75 70 64 61 74 65 20 |reate or| update |
|00001250| 61 20 63 6f 6f 6b 69 65 | 2e 0d 20 20 20 20 2f 2f |a cookie|.. //|
|00001260| 20 20 20 20 6e 61 6d 65 | 20 2d 20 53 74 72 69 6e | name| - Strin|
|00001270| 67 20 6f 62 6a 65 63 74 | 20 6f 62 6a 65 63 74 20 |g object| object |
|00001280| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 74 68 65 20 63 |containi|ng the c|
|00001290| 6f 6f 6b 69 65 20 6e 61 | 6d 65 2e 0d 20 20 20 20 |ookie na|me.. |
|000012a0| 2f 2f 20 20 20 20 76 61 | 6c 75 65 20 2d 20 53 74 |// va|lue - St|
|000012b0| 72 69 6e 67 20 6f 62 6a | 65 63 74 20 63 6f 6e 74 |ring obj|ect cont|
|000012c0| 61 69 6e 69 6e 67 20 74 | 68 65 20 63 6f 6f 6b 69 |aining t|he cooki|
|000012d0| 65 20 76 61 6c 75 65 2e | 20 20 4d 61 79 20 63 6f |e value.| May co|
|000012e0| 6e 74 61 69 6e 0d 20 20 | 20 20 2f 2f 20 20 20 20 |ntain. | // |
|000012f0| 20 20 61 6e 79 20 76 61 | 6c 69 64 20 73 74 72 69 | any va|lid stri|
|00001300| 6e 67 20 63 68 61 72 61 | 63 74 65 72 73 2e 0d 20 |ng chara|cters.. |
|00001310| 20 20 20 2f 2f 20 20 20 | 20 5b 65 78 70 69 72 65 | // | [expire|
|00001320| 73 5d 20 2d 20 44 61 74 | 65 20 6f 62 6a 65 63 74 |s] - Dat|e object|
|00001330| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 74 68 65 20 | contain|ing the |
|00001340| 65 78 70 69 72 61 74 69 | 6f 6e 20 64 61 74 61 20 |expirati|on data |
|00001350| 6f 66 20 74 68 65 20 63 | 6f 6f 6b 69 65 2e 20 20 |of the c|ookie. |
|00001360| 49 66 0d 20 20 20 20 2f | 2f 20 20 20 20 20 20 6f |If. /|/ o|
|00001370| 6d 69 74 74 65 64 20 6f | 72 20 6e 75 6c 6c 2c 20 |mitted o|r null, |
|00001380| 65 78 70 69 72 65 73 20 | 74 68 65 20 63 6f 6f 6b |expires |the cook|
|00001390| 69 65 20 61 74 20 74 68 | 65 20 65 6e 64 20 6f 66 |ie at th|e end of|
|000013a0| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 65 73 | the cur|rent ses|
|000013b0| 73 69 6f 6e 2e 0d 20 20 | 20 20 2f 2f 20 20 20 20 |sion.. | // |
|000013c0| 5b 70 61 74 68 5d 20 2d | 20 53 74 72 69 6e 67 20 |[path] -| String |
|000013d0| 6f 62 6a 65 63 74 20 69 | 6e 64 69 63 61 74 69 6e |object i|ndicatin|
|000013e0| 67 20 74 68 65 20 70 61 | 74 68 20 66 6f 72 20 77 |g the pa|th for w|
|000013f0| 68 69 63 68 20 74 68 65 | 20 63 6f 6f 6b 69 65 20 |hich the| cookie |
|00001400| 69 73 20 76 61 6c 69 64 | 2e 0d 20 20 20 20 2f 2f |is valid|.. //|
|00001410| 20 20 20 20 20 20 49 66 | 20 6f 6d 69 74 74 65 64 | If| omitted|
|00001420| 20 6f 72 20 6e 75 6c 6c | 2c 20 75 73 65 73 20 74 | or null|, uses t|
|00001430| 68 65 20 70 61 74 68 20 | 6f 66 20 74 68 65 20 63 |he path |of the c|
|00001440| 61 6c 6c 69 6e 67 20 64 | 6f 63 75 6d 65 6e 74 2e |alling d|ocument.|
|00001450| 0d 20 20 20 20 2f 2f 20 | 20 20 20 5b 64 6f 6d 61 |. // | [doma|
|00001460| 69 6e 5d 20 2d 20 53 74 | 72 69 6e 67 20 6f 62 6a |in] - St|ring obj|
|00001470| 65 63 74 20 69 6e 64 69 | 63 61 74 69 6e 67 20 74 |ect indi|cating t|
|00001480| 68 65 20 64 6f 6d 61 69 | 6e 20 66 6f 72 20 77 68 |he domai|n for wh|
|00001490| 69 63 68 20 74 68 65 20 | 63 6f 6f 6b 69 65 20 69 |ich the |cookie i|
|000014a0| 73 0d 20 20 20 20 2f 2f | 20 20 20 20 20 20 76 61 |s. //| va|
|000014b0| 6c 69 64 2e 20 20 49 66 | 20 6f 6d 69 74 74 65 64 |lid. If| omitted|
|000014c0| 20 6f 72 20 6e 75 6c 6c | 2c 20 75 73 65 73 20 74 | or null|, uses t|
|000014d0| 68 65 20 64 6f 6d 61 69 | 6e 20 6f 66 20 74 68 65 |he domai|n of the|
|000014e0| 20 63 61 6c 6c 69 6e 67 | 20 64 6f 63 75 6d 65 6e | calling| documen|
|000014f0| 74 2e 0d 20 20 20 20 2f | 2f 20 20 20 20 5b 73 65 |t.. /|/ [se|
|00001500| 63 75 72 65 5d 20 2d 20 | 42 6f 6f 6c 65 61 6e 20 |cure] - |Boolean |
|00001510| 28 74 72 75 65 2f 66 61 | 6c 73 65 29 20 76 61 6c |(true/fa|lse) val|
|00001520| 75 65 20 69 6e 64 69 63 | 61 74 69 6e 67 20 77 68 |ue indic|ating wh|
|00001530| 65 74 68 65 72 20 63 6f | 6f 6b 69 65 20 74 72 61 |ether co|okie tra|
|00001540| 6e 73 6d 69 73 73 69 6f | 6e 0d 20 20 20 20 2f 2f |nsmissio|n. //|
|00001550| 20 20 20 20 20 20 72 65 | 71 75 69 72 65 73 20 61 | re|quires a|
|00001560| 20 73 65 63 75 72 65 20 | 63 68 61 6e 6e 65 6c 20 | secure |channel |
|00001570| 28 48 54 54 50 53 29 2e | 20 20 0d 20 20 20 20 2f |(HTTPS).| . /|
|00001580| 2f 0d 20 20 20 20 2f 2f | 20 20 54 68 65 20 66 69 |/. //| The fi|
|00001590| 72 73 74 20 74 77 6f 20 | 70 61 72 61 6d 65 74 65 |rst two |paramete|
|000015a0| 72 73 20 61 72 65 20 72 | 65 71 75 69 72 65 64 2e |rs are r|equired.|
|000015b0| 20 20 54 68 65 20 6f 74 | 68 65 72 73 2c 20 69 66 | The ot|hers, if|
|000015c0| 20 73 75 70 70 6c 69 65 | 64 2c 20 6d 75 73 74 0d | supplie|d, must.|
|000015d0| 20 20 20 20 2f 2f 20 20 | 62 65 20 70 61 73 73 65 | // |be passe|
|000015e0| 64 20 69 6e 20 74 68 65 | 20 6f 72 64 65 72 20 6c |d in the| order l|
|000015f0| 69 73 74 65 64 20 61 62 | 6f 76 65 2e 20 20 54 6f |isted ab|ove. To|
|00001600| 20 6f 6d 69 74 20 61 6e | 20 75 6e 75 73 65 64 20 | omit an| unused |
|00001610| 6f 70 74 69 6f 6e 61 6c | 20 66 69 65 6c 64 2c 0d |optional| field,.|
|00001620| 20 20 20 20 2f 2f 20 20 | 75 73 65 20 6e 75 6c 6c | // |use null|
|00001630| 20 61 73 20 61 20 70 6c | 61 63 65 20 68 6f 6c 64 | as a pl|ace hold|
|00001640| 65 72 2e 20 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |er. For| example|
|00001650| 2c 20 74 6f 20 63 61 6c | 6c 20 53 65 74 43 6f 6f |, to cal|l SetCoo|
|00001660| 6b 69 65 20 75 73 69 6e | 67 20 6e 61 6d 65 2c 0d |kie usin|g name,.|
|00001670| 20 20 20 20 2f 2f 20 20 | 76 61 6c 75 65 20 61 6e | // |value an|
|00001680| 64 20 70 61 74 68 2c 20 | 79 6f 75 20 77 6f 75 6c |d path, |you woul|
|00001690| 64 20 63 6f 64 65 3a 0d | 20 20 20 20 2f 2f 0d 20 |d code:.| //. |
|000016a0| 20 20 20 2f 2f 20 20 20 | 20 20 20 53 65 74 43 6f | // | SetCo|
|000016b0| 6f 6b 69 65 20 28 22 6d | 79 43 6f 6f 6b 69 65 4e |okie ("m|yCookieN|
|000016c0| 61 6d 65 22 2c 20 22 6d | 79 43 6f 6f 6b 69 65 56 |ame", "m|yCookieV|
|000016d0| 61 6c 75 65 22 2c 20 6e | 75 6c 6c 2c 20 22 2f 22 |alue", n|ull, "/"|
|000016e0| 29 3b 0d 20 20 20 20 2f | 2f 0d 20 20 20 20 2f 2f |);. /|/. //|
|000016f0| 20 20 4e 6f 74 65 20 74 | 68 61 74 20 74 72 61 69 | Note t|hat trai|
|00001700| 6c 69 6e 67 20 6f 6d 69 | 74 74 65 64 20 70 61 72 |ling omi|tted par|
|00001710| 61 6d 65 74 65 72 73 20 | 64 6f 20 6e 6f 74 20 72 |ameters |do not r|
|00001720| 65 71 75 69 72 65 20 61 | 20 70 6c 61 63 65 68 6f |equire a| placeho|
|00001730| 6c 64 65 72 2e 0d 20 20 | 20 20 2f 2f 0d 20 20 20 |lder.. | //. |
|00001740| 20 2f 2f 20 20 54 6f 20 | 73 65 74 20 61 20 73 65 | // To |set a se|
|00001750| 63 75 72 65 20 63 6f 6f | 6b 69 65 20 66 6f 72 20 |cure coo|kie for |
|00001760| 70 61 74 68 20 22 2f 6d | 79 50 61 74 68 22 2c 20 |path "/m|yPath", |
|00001770| 74 68 61 74 20 65 78 70 | 69 72 65 73 20 61 66 74 |that exp|ires aft|
|00001780| 65 72 20 74 68 65 0d 20 | 20 20 20 2f 2f 20 20 63 |er the. | // c|
|00001790| 75 72 72 65 6e 74 20 73 | 65 73 73 69 6f 6e 2c 20 |urrent s|ession, |
|000017a0| 79 6f 75 20 6d 69 67 68 | 74 20 63 6f 64 65 3a 0d |you migh|t code:.|
|000017b0| 20 20 20 20 2f 2f 0d 20 | 20 20 20 2f 2f 20 20 20 | //. | // |
|000017c0| 20 20 20 53 65 74 43 6f | 6f 6b 69 65 20 28 6d 79 | SetCo|okie (my|
|000017d0| 43 6f 6f 6b 69 65 56 61 | 72 2c 20 63 6f 6f 6b 69 |CookieVa|r, cooki|
|000017e0| 65 56 61 6c 75 65 56 61 | 72 2c 20 6e 75 6c 6c 2c |eValueVa|r, null,|
|000017f0| 20 22 2f 6d 79 50 61 74 | 68 22 2c 20 6e 75 6c 6c | "/myPat|h", null|
|00001800| 2c 20 74 72 75 65 29 3b | 0d 20 20 20 20 2f 2f 0d |, true);|. //.|
|00001810| 20 20 20 20 66 75 6e 63 | 74 69 6f 6e 20 53 65 74 | func|tion Set|
|00001820| 43 6f 6f 6b 69 65 20 28 | 6e 61 6d 65 2c 20 76 61 |Cookie (|name, va|
|00001830| 6c 75 65 29 20 7b 0d 20 | 20 20 20 20 20 76 61 72 |lue) {. | var|
|00001840| 20 61 72 67 76 20 3d 20 | 53 65 74 43 6f 6f 6b 69 | argv = |SetCooki|
|00001850| 65 2e 61 72 67 75 6d 65 | 6e 74 73 3b 0d 20 20 20 |e.argume|nts;. |
|00001860| 20 20 20 76 61 72 20 61 | 72 67 63 20 3d 20 53 65 | var a|rgc = Se|
|00001870| 74 43 6f 6f 6b 69 65 2e | 61 72 67 75 6d 65 6e 74 |tCookie.|argument|
|00001880| 73 2e 6c 65 6e 67 74 68 | 3b 0d 20 20 20 20 20 20 |s.length|;. |
|00001890| 76 61 72 20 65 78 70 69 | 72 65 73 20 3d 20 28 61 |var expi|res = (a|
|000018a0| 72 67 63 20 3e 20 32 29 | 20 3f 20 61 72 67 76 5b |rgc > 2)| ? argv[|
|000018b0| 32 5d 20 3a 20 6e 75 6c | 6c 3b 0d 20 20 20 20 20 |2] : nul|l;. |
|000018c0| 20 76 61 72 20 70 61 74 | 68 20 3d 20 28 61 72 67 | var pat|h = (arg|
|000018d0| 63 20 3e 20 33 29 20 3f | 20 61 72 67 76 5b 33 5d |c > 3) ?| argv[3]|
|000018e0| 20 3a 20 6e 75 6c 6c 3b | 0d 20 20 20 20 20 20 76 | : null;|. v|
|000018f0| 61 72 20 64 6f 6d 61 69 | 6e 20 3d 20 28 61 72 67 |ar domai|n = (arg|
|00001900| 63 20 3e 20 34 29 20 3f | 20 61 72 67 76 5b 34 5d |c > 4) ?| argv[4]|
|00001910| 20 3a 20 6e 75 6c 6c 3b | 0d 20 20 20 20 20 20 76 | : null;|. v|
|00001920| 61 72 20 73 65 63 75 72 | 65 20 3d 20 28 61 72 67 |ar secur|e = (arg|
|00001930| 63 20 3e 20 35 29 20 3f | 20 61 72 67 76 5b 35 5d |c > 5) ?| argv[5]|
|00001940| 20 3a 20 66 61 6c 73 65 | 3b 0d 20 20 20 20 20 20 | : false|;. |
|00001950| 64 6f 63 75 6d 65 6e 74 | 2e 63 6f 6f 6b 69 65 20 |document|.cookie |
|00001960| 3d 20 6e 61 6d 65 20 2b | 20 22 3d 22 20 2b 20 65 |= name +| "=" + e|
|00001970| 73 63 61 70 65 20 28 76 | 61 6c 75 65 29 20 2b 0d |scape (v|alue) +.|
|00001980| 20 20 20 20 20 20 20 20 | 28 28 65 78 70 69 72 65 | |((expire|
|00001990| 73 20 3d 3d 20 6e 75 6c | 6c 29 20 3f 20 22 22 20 |s == nul|l) ? "" |
|000019a0| 3a 20 28 22 3b 20 65 78 | 70 69 72 65 73 3d 22 20 |: ("; ex|pires=" |
|000019b0| 2b 20 65 78 70 69 72 65 | 73 2e 74 6f 47 4d 54 53 |+ expire|s.toGMTS|
|000019c0| 74 72 69 6e 67 28 29 29 | 29 20 2b 0d 20 20 20 20 |tring())|) +. |
|000019d0| 20 20 20 20 28 28 70 61 | 74 68 20 3d 3d 20 6e 75 | ((pa|th == nu|
|000019e0| 6c 6c 29 20 3f 20 22 22 | 20 3a 20 28 22 3b 20 70 |ll) ? ""| : ("; p|
|000019f0| 61 74 68 3d 22 20 2b 20 | 70 61 74 68 29 29 20 2b |ath=" + |path)) +|
|00001a00| 0d 20 20 20 20 20 20 20 | 20 28 28 64 6f 6d 61 69 |. | ((domai|
|00001a10| 6e 20 3d 3d 20 6e 75 6c | 6c 29 20 3f 20 22 22 20 |n == nul|l) ? "" |
|00001a20| 3a 20 28 22 3b 20 64 6f | 6d 61 69 6e 3d 22 20 2b |: ("; do|main=" +|
|00001a30| 20 64 6f 6d 61 69 6e 29 | 29 20 2b 0d 20 20 20 20 | domain)|) +. |
|00001a40| 20 20 20 20 28 28 73 65 | 63 75 72 65 20 3d 3d 20 | ((se|cure == |
|00001a50| 74 72 75 65 29 20 3f 20 | 22 3b 20 73 65 63 75 72 |true) ? |"; secur|
|00001a60| 65 22 20 3a 20 22 22 29 | 3b 0d 20 20 20 20 7d 0d |e" : "")|;. }.|
|00001a70| 0d 20 20 20 20 2f 2f 20 | 20 46 75 6e 63 74 69 6f |. // | Functio|
|00001a80| 6e 20 74 6f 20 64 65 6c | 65 74 65 20 61 20 63 6f |n to del|ete a co|
|00001a90| 6f 6b 69 65 2e 20 28 53 | 65 74 73 20 65 78 70 69 |okie. (S|ets expi|
|00001aa0| 72 61 74 69 6f 6e 20 64 | 61 74 65 20 74 6f 20 63 |ration d|ate to c|
|00001ab0| 75 72 72 65 6e 74 20 64 | 61 74 65 2f 74 69 6d 65 |urrent d|ate/time|
|00001ac0| 29 0d 20 20 20 20 2f 2f | 20 20 20 20 6e 61 6d 65 |). //| name|
|00001ad0| 20 2d 20 53 74 72 69 6e | 67 20 6f 62 6a 65 63 74 | - Strin|g object|
|00001ae0| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 74 68 65 20 | contain|ing the |
|00001af0| 63 6f 6f 6b 69 65 20 6e | 61 6d 65 0d 20 20 20 20 |cookie n|ame. |
|00001b00| 2f 2f 0d 20 20 20 20 66 | 75 6e 63 74 69 6f 6e 20 |//. f|unction |
|00001b10| 44 65 6c 65 74 65 43 6f | 6f 6b 69 65 20 28 6e 61 |DeleteCo|okie (na|
|00001b20| 6d 65 29 20 7b 0d 20 20 | 20 20 20 20 76 61 72 20 |me) {. | var |
|00001b30| 65 78 70 20 3d 20 6e 65 | 77 20 44 61 74 65 28 29 |exp = ne|w Date()|
|00001b40| 3b 0d 20 20 20 20 20 20 | 65 78 70 2e 73 65 74 54 |;. |exp.setT|
|00001b50| 69 6d 65 20 28 65 78 70 | 2e 67 65 74 54 69 6d 65 |ime (exp|.getTime|
|00001b60| 28 29 20 2d 20 31 29 3b | 20 20 2f 2f 20 54 68 69 |() - 1);| // Thi|
|00001b70| 73 20 63 6f 6f 6b 69 65 | 20 69 73 20 68 69 73 74 |s cookie| is hist|
|00001b80| 6f 72 79 0d 20 20 20 20 | 20 20 76 61 72 20 63 76 |ory. | var cv|
|00001b90| 61 6c 20 3d 20 47 65 74 | 43 6f 6f 6b 69 65 20 28 |al = Get|Cookie (|
|00001ba0| 6e 61 6d 65 29 3b 0d 20 | 20 20 20 20 20 64 6f 63 |name);. | doc|
|00001bb0| 75 6d 65 6e 74 2e 63 6f | 6f 6b 69 65 20 3d 20 6e |ument.co|okie = n|
|00001bc0| 61 6d 65 20 2b 20 22 3d | 22 20 2b 20 63 76 61 6c |ame + "=|" + cval|
|00001bd0| 20 2b 20 22 3b 20 65 78 | 70 69 72 65 73 3d 22 20 | + "; ex|pires=" |
|00001be0| 2b 20 65 78 70 2e 74 6f | 47 4d 54 53 74 72 69 6e |+ exp.to|GMTStrin|
|00001bf0| 67 28 29 3b 0d 20 20 20 | 20 7d 0d 0d 2f 2f 20 2d |g();. | }..// -|
|00001c00| 2d 3e 0d 3c 2f 53 43 52 | 49 50 54 3e 0d 0d 3c 2f |->.</SCR|IPT>..</|
|00001c10| 48 45 41 44 3e 0d 0d 3c | 42 4f 44 59 20 42 47 43 |HEAD>..<|BODY BGC|
|00001c20| 4f 4c 4f 52 3d 46 46 46 | 46 46 46 20 54 45 58 54 |OLOR=FFF|FFF TEXT|
|00001c30| 3d 30 30 30 30 30 30 3e | 0d 0d 3c 48 31 3e 4a 61 |=000000>|..<H1>Ja|
|00001c40| 76 61 53 63 72 69 70 74 | 20 43 6f 6f 6b 69 65 73 |vaScript| Cookies|
|00001c50| 20 45 78 61 6d 70 6c 65 | 3c 2f 48 31 3e 0d 0d 3c | Example|</H1>..<|
|00001c60| 42 3e 54 68 69 73 20 70 | 61 67 65 20 63 6f 6e 74 |B>This p|age cont|
|00001c70| 61 69 6e 73 20 61 20 4a | 61 76 61 53 63 72 69 70 |ains a J|avaScrip|
|00001c80| 74 20 74 68 61 74 20 73 | 74 6f 72 65 73 20 69 6e |t that s|tores in|
|00001c90| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|00001ca0| 74 68 65 20 6c 61 73 74 | 20 74 69 6d 65 20 61 20 |the last| time a |
|00001cb0| 72 65 61 64 65 72 20 76 | 69 73 69 74 65 64 20 74 |reader v|isited t|
|00001cc0| 68 65 20 70 61 67 65 3c | 2f 42 3e 0d 3c 50 3e 0d |he page<|/B>.<P>.|
|00001cd0| 50 6c 65 61 73 65 20 6e | 6f 74 65 20 74 68 61 74 |Please n|ote that|
|00001ce0| 20 4a 61 76 61 53 63 72 | 69 70 74 20 69 73 20 63 | JavaScr|ipt is c|
|00001cf0| 75 72 72 65 6e 74 6c 79 | 20 6f 6e 6c 79 20 61 76 |urrently| only av|
|00001d00| 61 69 6c 61 62 6c 65 20 | 69 6e 20 4e 65 74 73 63 |ailable |in Netsc|
|00001d10| 61 70 65 20 4e 61 76 69 | 67 61 74 6f 72 20 32 2e |ape Navi|gator 2.|
|00001d20| 30 20 6f 72 20 6c 61 74 | 65 72 2c 20 61 6e 64 20 |0 or lat|er, and |
|00001d30| 69 6e 20 49 6e 74 65 72 | 6e 65 74 20 45 78 70 6c |in Inter|net Expl|
|00001d40| 6f 72 65 72 20 66 6f 72 | 20 4d 61 63 4f 53 20 76 |orer for| MacOS v|
|00001d50| 65 72 73 69 6f 6e 20 33 | 2e 30 2e 31 20 6f 72 20 |ersion 3|.0.1 or |
|00001d60| 6c 61 74 65 72 2e 20 3c | 46 4f 4e 54 20 43 4f 4c |later. <|FONT COL|
|00001d70| 4f 52 3d 22 39 33 31 42 | 31 35 22 3e 44 6f 20 6e |OR="931B|15">Do n|
|00001d80| 6f 74 20 61 73 73 75 6d | 65 20 74 68 61 74 20 61 |ot assum|e that a|
|00001d90| 6c 6c 20 69 6e 20 79 6f | 75 72 20 61 75 64 69 65 |ll in yo|ur audie|
|00001da0| 6e 63 65 20 61 72 65 20 | 75 73 69 6e 67 20 61 20 |nce are |using a |
|00001db0| 4a 61 76 61 53 63 72 69 | 70 74 20 65 6e 61 62 6c |JavaScri|pt enabl|
|00001dc0| 65 64 20 62 72 6f 77 73 | 65 72 2e 3c 2f 46 4f 4e |ed brows|er.</FON|
|00001dd0| 54 3e 0d 3c 48 52 3e 0d | 3c 50 3e 0d 54 68 65 73 |T>.<HR>.|<P>.Thes|
|00001de0| 65 20 4a 61 76 61 53 63 | 72 69 70 74 73 20 75 73 |e JavaSc|ripts us|
|00001df0| 65 20 50 65 72 73 69 73 | 74 65 6e 74 20 43 6c 69 |e Persis|tent Cli|
|00001e00| 65 6e 74 20 53 74 61 74 | 65 20 48 54 54 50 20 43 |ent Stat|e HTTP C|
|00001e10| 6f 6f 6b 69 65 73 20 74 | 6f 20 73 74 6f 72 65 20 |ookies t|o store |
|00001e20| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 61 62 6f 75 |informat|ion abou|
|00001e30| 74 20 74 68 65 20 6c 61 | 73 74 20 74 69 6d 65 20 |t the la|st time |
|00001e40| 61 20 72 65 61 64 65 72 | 20 76 69 73 69 74 65 64 |a reader| visited|
|00001e50| 20 74 68 65 20 70 61 67 | 65 2e 20 41 20 63 6f 6f | the pag|e. A coo|
|00001e60| 6b 69 65 20 69 73 20 61 | 20 6d 65 63 68 61 6e 69 |kie is a| mechani|
|00001e70| 73 6d 20 74 68 61 74 20 | 61 6c 6c 6f 77 73 20 69 |sm that |allows i|
|00001e80| 6e 66 6f 72 6d 61 74 69 | 6f 6e 20 74 6f 20 62 65 |nformati|on to be|
|00001e90| 20 73 74 6f 72 65 64 20 | 61 63 72 6f 73 73 20 6d | stored |across m|
|00001ea0| 75 6c 74 69 70 6c 65 20 | 73 65 73 73 69 6f 6e 73 |ultiple |sessions|
|00001eb0| 2e 0d 3c 50 3e 0d 49 6e | 20 74 68 69 73 20 65 78 |..<P>.In| this ex|
|00001ec0| 61 6d 70 6c 65 20 74 77 | 6f 20 63 6f 6f 6b 69 65 |ample tw|o cookie|
|00001ed0| 73 20 61 72 65 20 73 74 | 6f 72 65 64 20 63 6f 6e |s are st|ored con|
|00001ee0| 74 61 69 6e 69 6e 67 20 | 69 6e 66 6f 72 6d 61 74 |taining |informat|
|00001ef0| 69 6f 6e 20 61 62 6f 75 | 74 20 6c 61 73 74 20 64 |ion abou|t last d|
|00001f00| 61 74 65 20 61 6e 64 20 | 6e 75 6d 62 65 72 20 6f |ate and |number o|
|00001f10| 66 20 74 69 6d 65 73 20 | 74 68 65 20 72 65 61 64 |f times |the read|
|00001f20| 65 72 20 68 61 73 20 76 | 69 73 69 74 65 64 20 61 |er has v|isited a|
|00001f30| 20 70 61 67 65 20 28 63 | 6f 6e 74 61 69 6e 69 6e | page (c|ontainin|
|00001f40| 67 20 74 68 65 73 65 20 | 63 6f 6f 6b 69 65 73 29 |g these |cookies)|
|00001f50| 2e 20 53 69 6e 63 65 20 | 74 68 65 20 63 6f 6f 6b |. Since |the cook|
|00001f60| 69 65 73 20 61 72 65 20 | 73 74 6f 72 65 64 20 6f |ies are |stored o|
|00001f70| 6e 20 74 68 65 20 72 65 | 61 64 65 72 73 20 68 61 |n the re|aders ha|
|00001f80| 72 64 20 64 69 73 6b 20 | 79 6f 75 20 2d 20 74 68 |rd disk |you - th|
|00001f90| 65 20 61 75 74 68 6f 72 | 20 2d 20 77 69 6c 6c 20 |e author| - will |
|00001fa0| 6e 6f 74 20 62 65 20 61 | 62 6c 65 20 74 6f 20 65 |not be a|ble to e|
|00001fb0| 78 74 72 61 63 74 20 69 | 6e 66 6f 72 6d 61 74 69 |xtract i|nformati|
|00001fc0| 6f 6e 20 61 62 6f 75 74 | 20 74 68 65 20 72 65 61 |on about| the rea|
|00001fd0| 64 65 72 2e 0d 3c 50 3e | 0d 43 6f 6f 6b 69 65 73 |der..<P>|.Cookies|
|00001fe0| 20 63 61 6e 20 61 6c 73 | 6f 20 62 65 20 75 73 65 | can als|o be use|
|00001ff0| 64 20 66 6f 72 20 6d 61 | 6e 79 20 6f 74 68 65 72 |d for ma|ny other|
|00002000| 20 70 75 72 70 6f 73 65 | 73 2c 20 73 75 63 68 20 | purpose|s, such |
|00002010| 61 73 20 6b 65 65 70 69 | 6e 67 20 72 65 61 64 65 |as keepi|ng reade|
|00002020| 72 73 20 70 72 65 66 65 | 72 65 6e 63 65 73 20 66 |rs prefe|rences f|
|00002030| 6f 72 20 76 69 65 77 69 | 6e 67 20 61 20 73 69 74 |or viewi|ng a sit|
|00002040| 65 2c 20 73 74 6f 72 69 | 6e 67 20 70 61 73 73 77 |e, stori|ng passw|
|00002050| 6f 72 64 73 2c 20 69 6d | 70 6c 65 6d 65 6e 74 69 |ords, im|plementi|
|00002060| 6e 67 20 61 20 73 68 6f | 70 70 69 6e 67 20 63 61 |ng a sho|pping ca|
|00002070| 72 74 20 66 6f 72 20 6f | 6e 6c 69 6e 65 20 62 75 |rt for o|nline bu|
|00002080| 73 69 6e 65 73 73 20 6f | 72 20 66 6f 72 20 6b 65 |siness o|r for ke|
|00002090| 65 70 69 6e 67 20 74 72 | 61 63 6b 20 6f 66 20 61 |eping tr|ack of a|
|000020a0| 63 63 65 73 73 20 72 69 | 67 68 74 73 20 66 6f 72 |ccess ri|ghts for|
|000020b0| 20 61 20 73 70 65 63 69 | 66 69 63 20 72 65 61 64 | a speci|fic read|
|000020c0| 65 72 20 76 69 65 77 69 | 6e 67 20 70 61 67 65 73 |er viewi|ng pages|
|000020d0| 20 63 72 65 61 74 65 64 | 20 6f 6e 20 74 68 65 20 | created| on the |
|000020e0| 66 6c 79 20 6f 6e 20 74 | 68 65 20 73 65 72 76 65 |fly on t|he serve|
|000020f0| 72 2e 0d 3c 48 52 3e 0d | 3c 42 3e 48 65 72 65 20 |r..<HR>.|<B>Here |
|00002100| 69 73 20 61 6e 20 65 78 | 61 6d 70 6c 65 3a 3c 2f |is an ex|ample:</|
|00002110| 42 3e 0d 0d 3c 50 3e 0d | 48 65 6c 6c 6f 2c 20 3c |B>..<P>.|Hello, <|
|00002120| 53 43 52 49 50 54 20 4c | 41 4e 47 55 41 47 45 3d |SCRIPT L|ANGUAGE=|
|00002130| 22 4a 61 76 61 53 63 72 | 69 70 74 22 3e 64 6f 63 |"JavaScr|ipt">doc|
|00002140| 75 6d 65 6e 74 2e 77 72 | 69 74 65 28 6e 61 76 69 |ument.wr|ite(navi|
|00002150| 67 61 74 6f 72 2e 75 73 | 65 72 41 67 65 6e 74 29 |gator.us|erAgent)|
|00002160| 3b 3c 2f 53 43 52 49 50 | 54 3e 21 0d 0d 3c 50 3e |;</SCRIP|T>!..<P>|
|00002170| 0d 3c 53 43 52 49 50 54 | 20 4c 41 4e 47 55 41 47 |.<SCRIPT| LANGUAG|
|00002180| 45 3d 22 4a 61 76 61 53 | 63 72 69 70 74 22 3e 64 |E="JavaS|cript">d|
|00002190| 6f 63 75 6d 65 6e 74 2e | 77 72 69 74 65 20 28 47 |ocument.|write (G|
|000021a0| 65 74 4c 61 73 74 56 69 | 73 69 74 28 29 29 3c 2f |etLastVi|sit())</|
|000021b0| 53 43 52 49 50 54 3e 0d | 0d 3c 50 3e 0d 52 65 6c |SCRIPT>.|.<P>.Rel|
|000021c0| 6f 61 64 20 74 68 69 73 | 20 70 61 67 65 20 74 6f |oad this| page to|
|000021d0| 20 73 65 65 20 74 68 65 | 20 74 65 78 74 20 61 62 | see the| text ab|
|000021e0| 6f 76 65 20 75 70 64 61 | 74 65 64 2e 0d 0d 3c 50 |ove upda|ted...<P|
|000021f0| 3e 0d 3c 48 52 3e 0d 3c | 42 3e 48 6f 77 20 74 6f |>.<HR>.<|B>How to|
|00002200| 20 75 73 65 3a 3c 2f 42 | 3e 3c 42 52 3e 0d 52 65 | use:</B|><BR>.Re|
|00002210| 6e 61 6d 65 20 74 68 65 | 20 63 6f 6e 73 74 61 6e |name the| constan|
|00002220| 74 73 20 3c 43 4f 44 45 | 3e 27 6d 79 5f 4c 61 73 |ts <CODE|>'my_Las|
|00002230| 74 56 69 73 69 74 27 3c | 2f 43 4f 44 45 3e 20 61 |tVisit'<|/CODE> a|
|00002240| 6e 64 20 27 3c 43 4f 44 | 45 3e 6d 79 5f 4e 75 6d |nd '<COD|E>my_Num|
|00002250| 56 69 73 69 74 73 27 3c | 2f 43 4f 44 45 3e 20 74 |Visits'<|/CODE> t|
|00002260| 6f 20 73 6f 6d 65 74 68 | 69 6e 67 20 75 6e 69 71 |o someth|ing uniq|
|00002270| 75 65 20 66 6f 72 20 74 | 68 65 20 63 75 72 72 65 |ue for t|he curre|
|00002280| 6e 74 20 70 61 67 65 20 | 28 6d 61 79 62 65 20 75 |nt page |(maybe u|
|00002290| 73 65 20 73 6f 6d 65 20 | 70 61 72 74 20 6f 74 20 |se some |part ot |
|000022a0| 74 68 65 20 75 72 6c 29 | 20 6f 72 20 65 6c 73 65 |the url)| or else|
|000022b0| 20 69 74 20 77 6f 6e 27 | 74 20 77 6f 72 6b 20 63 | it won'|t work c|
|000022c0| 6f 72 72 65 63 74 6c 79 | 20 69 66 20 6f 74 68 65 |orrectly| if othe|
|000022d0| 72 20 75 73 65 73 20 74 | 68 69 73 20 73 63 72 69 |r uses t|his scri|
|000022e0| 70 74 21 20 54 68 65 73 | 65 20 63 6f 6e 73 74 61 |pt! Thes|e consta|
|000022f0| 6e 74 73 20 61 72 65 20 | 6c 6f 63 61 74 65 64 20 |nts are |located |
|00002300| 61 74 20 74 68 65 20 62 | 65 67 69 6e 6e 69 6e 67 |at the b|eginning|
|00002310| 20 6f 66 20 74 68 65 20 | 48 45 41 44 20 73 65 63 | of the |HEAD sec|
|00002320| 74 69 6f 6e 20 69 6e 20 | 74 68 69 73 20 66 69 6c |tion in |this fil|
|00002330| 65 2e 20 49 74 20 69 73 | 20 69 6d 70 6f 72 74 61 |e. It is| importa|
|00002340| 6e 74 20 74 6f 20 64 6f | 20 74 68 69 73 21 0d 0d |nt to do| this!..|
|00002350| 3c 50 3e 0d 59 6f 75 20 | 6d 61 79 20 77 61 6e 74 |<P>.You |may want|
|00002360| 20 74 6f 20 63 68 61 6e | 67 65 20 74 68 65 20 74 | to chan|ge the t|
|00002370| 65 78 74 20 69 6e 73 69 | 64 65 20 66 75 6e 63 74 |ext insi|de funct|
|00002380| 69 6f 6e 20 3c 43 4f 44 | 45 3e 47 65 74 4c 61 73 |ion <COD|E>GetLas|
|00002390| 74 56 69 73 69 74 28 29 | 3c 2f 43 4f 44 45 3e 20 |tVisit()|</CODE> |
|000023a0| 74 6f 20 73 6f 6d 65 74 | 68 69 6e 67 20 6d 6f 72 |to somet|hing mor|
|000023b0| 65 20 61 70 70 72 6f 70 | 72 69 61 74 65 20 66 6f |e approp|riate fo|
|000023c0| 72 20 79 6f 75 72 20 20 | 73 69 74 65 2e 0d 0d 3c |r your |site...<|
|000023d0| 50 3e 0d 46 69 6e 61 6c | 6c 79 20 75 73 65 20 74 |P>.Final|ly use t|
|000023e0| 68 69 73 20 63 6f 64 65 | 20 69 6e 73 69 64 65 20 |his code| inside |
|000023f0| 74 68 65 20 42 4f 44 59 | 20 73 65 63 74 69 6f 6e |the BODY| section|
|00002400| 20 74 6f 20 64 69 73 70 | 6c 61 79 20 74 68 65 20 | to disp|lay the |
|00002410| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 6e 20 74 |informat|ion in t|
|00002420| 68 65 20 62 72 6f 77 73 | 65 72 3a 0d 3c 50 52 45 |he brows|er:.<PRE|
|00002430| 3e 26 6c 74 3b 53 43 52 | 49 50 54 20 4c 41 4e 47 |><SCR|IPT LANG|
|00002440| 55 41 47 45 3d 22 4a 61 | 76 61 53 63 72 69 70 74 |UAGE="Ja|vaScript|
|00002450| 22 26 67 74 3b 64 6f 63 | 75 6d 65 6e 74 2e 77 72 |">doc|ument.wr|
|00002460| 69 74 65 20 28 47 65 74 | 4c 61 73 74 56 69 73 69 |ite (Get|LastVisi|
|00002470| 74 28 29 29 26 6c 74 3b | 2f 53 43 52 49 50 54 26 |t())<|/SCRIPT&|
|00002480| 67 74 3b 3c 2f 50 52 45 | 3e 0d 0d 3c 50 3e 0d 3c |gt;</PRE|>..<P>.<|
|00002490| 2f 42 4f 44 59 3e 0d 3c | 2f 48 54 4d 4c 3e 0d 00 |/BODY>.<|/HTML>..|
|000024a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000024f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002500| 00 00 01 00 00 00 08 9c | 00 00 07 9c 00 00 00 82 |........|........|
|00002510| 60 3a 1f 2e ff f0 1f 2e | ff f1 2f 0b 2f 39 ff fe |`:......|.././9..|
|00002520| bf 1c 20 79 ff fe bf 1c | 20 50 20 68 00 54 4e 90 |.. y....| P h.TN.|
|00002530| 0e 43 6f 6f 6b 69 65 20 | 45 78 61 6d 70 6c 65 20 |.Cookie |Example |
|00002540| 2d 20 4d 43 50 20 28 75 | 74 73 6b 72 69 66 74 29 |- MCP (u|tskrift)|
|00002550| 00 00 54 45 58 54 4a 79 | 57 73 01 00 ff ff ff ff |..TEXTJy|Ws......|
|00002560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002570| 00 00 ad c4 ca 34 00 00 | 24 4b 00 00 09 b0 2f 0a |.....4..|$K..../.|
|00002580| 4e b9 00 00 04 82 20 0a | 24 5f 4e 5e 4e 74 00 08 |N..... .|$_N^Nt..|
|00002590| 4e 56 00 00 2f 0a 24 6e | 00 08 42 67 2f 0a 4e b9 |NV../.$n|..Bg/.N.|
|000025a0| 00 00 11 82 20 79 ff fe | c2 7c 24 88 25 6e 00 0c |.... y..|.|$.%n..|
|000025b0| 00 08 20 0a 24 5f 4e 5e | 4e 74 00 08 4e 56 00 00 |.. .$_N^|Nt..NV..|
|000025c0| 48 e7 00 28 28 6e 00 08 | 20 79 ff fe c2 7c 28 88 |H..((n..| y...|(.|
|000025d0| 24 6c 00 08 70 6c d5 c0 | 20 52 b1 cc 66 04 70 00 |$l..pl..| R..f.p.|
|000025e0| 24 80 20 79 ff fe c2 80 | 28 88 2f 0c 4e b9 00 00 |$. y....|(./.N...|
|000025f0| 06 a2 4c df 14 00 4e 5e | 4e 74 00 04 4e 56 ff fc |..L...N^|Nt..NV..|
|00002600| 00 00 00 00 00 00 00 00 | 00 00 07 82 00 60 00 00 |........|.....`..|
|00002610| 00 00 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00002620| 55 55 00 00 00 06 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00002630| 00 00 00 00 00 00 00 00 | 00 07 00 0c 00 0a 00 03 |........|........|
|00002640| 00 00 00 09 55 56 55 55 | 55 55 00 00 00 0d 00 0e |....UVUU|UU......|
|00002650| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002660| 00 0e 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00002670| 55 55 00 00 00 15 00 0e | 00 0a 00 10 01 00 00 0c |UU......|........|
|00002680| 22 14 61 af 2f 51 00 00 | 00 2c 00 0c 00 0a 00 03 |".a./Q..|.,......|
|00002690| 00 00 00 09 55 56 55 55 | 55 55 00 00 00 34 00 0e |....UVUU|UU...4..|
|000026a0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000026b0| 00 36 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |.6......|....UVUU|
|000026c0| 55 55 00 00 00 54 00 0b | 00 09 00 04 00 00 00 09 |UU...T..|........|
|000026d0| 00 00 00 00 00 00 00 00 | 00 55 00 0c 00 0a 00 03 |........|.U......|
|000026e0| 00 00 00 09 55 56 55 55 | 55 55 00 00 00 59 00 0b |....UVUU|UU...Y..|
|000026f0| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00002700| 1b 7f 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00002710| 55 55 00 00 1b 82 00 0b | 00 09 00 04 00 00 00 09 |UU......|........|
|00002720| 00 00 00 00 00 00 00 00 | 1b 83 00 0c 00 0a 00 03 |........|........|
|00002730| 00 00 00 09 55 56 55 55 | 55 55 00 00 1b 8c 00 0e |....UVUU|UU......|
|00002740| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002750| 1b 8e 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00002760| 55 55 00 00 1b 95 00 0e | 00 0a 00 10 00 00 00 0c |UU......|........|
|00002770| 00 00 00 00 00 00 00 00 | 1b 97 00 0c 00 0a 00 03 |........|........|
|00002780| 00 00 00 09 55 56 55 55 | 55 55 00 00 1b b8 00 0e |....UVUU|UU......|
|00002790| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000027a0| 1b ba 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|000027b0| 55 55 00 00 1b be 00 19 | 00 12 00 10 01 00 00 18 |UU......|........|
|000027c0| 00 00 00 00 00 00 00 00 | 1b d8 00 0c 00 0a 00 03 |........|........|
|000027d0| 00 00 00 09 55 56 55 55 | 55 55 00 00 1b dd 00 0e |....UVUU|UU......|
|000027e0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 1b df 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |........|....UVUU|
|00002800| 55 55 00 00 1b e2 00 0e | 00 0a 00 10 01 00 00 0c |UU......|........|
|00002810| 00 00 00 00 00 00 00 00 | 1c 47 00 0c 00 0a 00 03 |........|.G......|
|00002820| 00 00 00 09 55 56 55 55 | 55 55 00 00 1c 4b 00 0e |....UVUU|UU...K..|
|00002830| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002840| 1c 4c 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |.L......|....UVUU|
|00002850| 55 55 00 00 1c 4f 00 0e | 00 0a 00 10 00 00 00 0c |UU...O..|........|
|00002860| 00 00 00 00 00 00 00 00 | 1c e7 00 0c 00 0a 00 03 |........|........|
|00002870| 00 00 00 09 55 56 55 55 | 55 55 00 00 1c fc 00 0e |....UVUU|UU......|
|00002880| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002890| 1d 4b 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |.K......|....UVUU|
|000028a0| 55 55 00 00 1d 52 00 0e | 00 0a 00 10 00 00 00 0c |UU...R..|........|
|000028b0| 00 00 00 00 00 00 00 00 | 1d 53 00 0c 00 0a 00 03 |........|.S......|
|000028c0| 00 00 00 09 00 01 00 01 | 00 01 00 00 1d 57 00 0e |........|.....W..|
|000028d0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 1d 58 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |.X......|....UVUU|
|000028f0| 55 55 00 00 1d 5b 00 0e | 00 0a 00 10 00 00 00 0c |UU...[..|........|
|00002900| 00 00 00 00 00 00 00 00 | 1e 32 00 0c 00 0a 00 03 |........|.2......|
|00002910| 00 00 00 09 55 56 55 55 | 55 55 00 00 1e 35 00 0e |....UVUU|UU...5..|
|00002920| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002930| 1f 55 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |.U......|....UVUU|
|00002940| 55 55 00 00 1f 58 00 0e | 00 0a 00 10 00 00 00 0c |UU...X..|........|
|00002950| 00 00 00 00 00 00 00 00 | 20 73 00 0c 00 0a 00 03 |........| s......|
|00002960| 00 00 00 09 00 01 00 01 | 00 01 00 00 20 77 00 0e |........|.... w..|
|00002970| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 20 78 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 | x......|....UVUU|
|00002990| 55 55 00 00 20 7b 00 0e | 00 0a 00 10 01 00 00 0c |UU.. {..|........|
|000029a0| 00 00 00 00 00 00 00 00 | 20 8e 00 0c 00 0a 00 03 |........| .......|
|000029b0| 00 00 00 09 55 56 55 55 | 55 55 00 00 20 92 00 0e |....UVUU|UU.. ...|
|000029c0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 20 94 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 | .......|....UVUU|
|000029e0| 55 55 00 00 20 97 00 0e | 00 0a 00 10 00 00 00 0c |UU.. ...|........|
|000029f0| 00 00 00 00 00 00 00 00 | 20 9f 00 0c 00 0a 00 03 |........| .......|
|00002a00| 00 00 00 09 55 56 55 55 | 55 55 00 00 20 bd 00 0b |....UVUU|UU.. ...|
|00002a10| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00002a20| 20 e1 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 | .......|....UVUU|
|00002a30| 55 55 00 00 20 ea 00 0e | 00 0a 00 10 00 00 00 0c |UU.. ...|........|
|00002a40| 00 00 00 00 00 00 00 00 | 20 ed 00 0c 00 0a 00 03 |........| .......|
|00002a50| 00 00 00 09 55 56 55 55 | 55 55 00 00 20 f0 00 0e |....UVUU|UU.. ...|
|00002a60| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002a70| 20 f1 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 | .......|....UVUU|
|00002a80| 55 55 00 00 21 0f 00 0b | 00 09 00 04 00 00 00 09 |UU..!...|........|
|00002a90| 00 00 00 00 00 00 00 00 | 21 2e 00 0c 00 0a 00 03 |........|!.......|
|00002aa0| 00 00 00 09 55 56 55 55 | 55 55 00 00 21 37 00 0e |....UVUU|UU..!7..|
|00002ab0| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002ac0| 21 39 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |!9......|....UVUU|
|00002ad0| 55 55 00 00 21 3c 00 0e | 00 0a 00 10 00 00 00 0c |UU..!<..|........|
|00002ae0| 00 00 00 00 00 00 00 00 | 21 6e 00 0c 00 0a 00 03 |........|!n......|
|00002af0| 00 00 00 09 55 56 55 55 | 55 55 00 00 21 71 00 0e |....UVUU|UU..!q..|
|00002b00| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002b10| 21 72 00 0c 00 0a 00 03 | 00 00 00 09 00 01 00 01 |!r......|........|
|00002b20| 00 01 00 00 21 76 00 0e | 00 0a 00 10 00 00 00 0c |....!v..|........|
|00002b30| 00 00 00 00 00 00 00 00 | 21 77 00 0c 00 0a 00 03 |........|!w......|
|00002b40| 00 00 00 09 55 56 55 55 | 55 55 00 00 21 7a 00 0e |....UVUU|UU..!z..|
|00002b50| 00 0a 00 10 01 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002b60| 21 85 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |!.......|....UVUU|
|00002b70| 55 55 00 00 21 8d 00 0e | 00 0a 00 10 00 00 00 0c |UU..!...|........|
|00002b80| 00 00 00 00 00 00 00 00 | 21 a3 00 0c 00 0a 00 03 |........|!.......|
|00002b90| 00 00 00 09 55 56 55 55 | 55 55 00 00 21 a9 00 0b |....UVUU|UU..!...|
|00002ba0| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00002bb0| 21 b7 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |!.......|....UVUU|
|00002bc0| 55 55 00 00 21 be 00 0e | 00 0a 00 10 00 00 00 0c |UU..!...|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 21 c4 00 0c 00 0a 00 03 |........|!.......|
|00002be0| 00 00 00 09 55 56 55 55 | 55 55 00 00 21 ca 00 0b |....UVUU|UU..!...|
|00002bf0| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00002c00| 21 d7 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |!.......|....UVUU|
|00002c10| 55 55 00 00 21 de 00 0e | 00 0a 00 10 00 00 00 0c |UU..!...|........|
|00002c20| 00 00 00 00 00 00 00 00 | 22 d0 00 0c 00 0a 00 03 |........|".......|
|00002c30| 00 00 00 09 55 56 55 55 | 55 55 00 00 22 d3 00 0e |....UVUU|UU.."...|
|00002c40| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002c50| 23 04 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |#.......|....UVUU|
|00002c60| 55 55 00 00 23 0a 00 0b | 00 09 00 04 00 00 00 09 |UU..#...|........|
|00002c70| 00 00 00 00 00 00 00 00 | 23 18 00 0c 00 0a 00 03 |........|#.......|
|00002c80| 00 00 00 09 55 56 55 55 | 55 55 00 00 23 1f 00 0e |....UVUU|UU..#...|
|00002c90| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002ca0| 23 4f 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |#O......|....UVUU|
|00002cb0| 55 55 00 00 23 52 00 0e | 00 0a 00 10 00 00 00 0c |UU..#R..|........|
|00002cc0| 00 00 00 00 00 00 00 00 | 23 ac 00 0c 00 0a 00 03 |........|#.......|
|00002cd0| 00 00 00 09 55 56 55 55 | 55 55 00 00 23 b1 00 0b |....UVUU|UU..#...|
|00002ce0| 00 09 00 04 00 00 00 09 | 00 00 00 00 00 00 00 00 |........|........|
|00002cf0| 24 03 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |$.......|....UVUU|
|00002d00| 55 55 00 00 24 09 00 0e | 00 0a 00 10 00 00 00 0c |UU..$...|........|
|00002d10| 00 00 00 00 00 00 00 00 | 24 0b 00 0c 00 0a 00 03 |........|$.......|
|00002d20| 00 00 00 09 55 56 55 55 | 55 55 00 00 24 0e 00 0e |....UVUU|UU..$...|
|00002d30| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002d40| 24 0f 00 0c 00 0a 00 03 | 00 00 00 09 55 56 55 55 |$.......|....UVUU|
|00002d50| 55 55 00 00 24 16 00 0e | 00 0a 00 10 00 00 00 0c |UU..$...|........|
|00002d60| 00 00 00 00 00 00 00 00 | 24 17 00 0c 00 0a 00 03 |........|$.......|
|00002d70| 00 00 00 09 55 56 55 55 | 55 55 00 00 24 1e 00 0e |....UVUU|UU..$...|
|00002d80| 00 0a 00 10 00 00 00 0c | 00 00 00 00 00 00 00 00 |........|........|
|00002d90| 00 02 00 02 00 00 00 04 | 00 00 24 1f 00 00 01 00 |........|..$.....|
|00002da0| 00 00 08 9c 00 00 07 9c | 00 00 00 82 06 64 56 28 |........|.....dV(|
|00002db0| 1f f4 00 00 00 1c 00 82 | 00 04 73 74 79 6c 00 00 |........|..styl..|
|00002dc0| 00 2a 73 6f 75 70 00 00 | 00 36 38 38 35 39 00 00 |.*soup..|.68859..|
|00002dd0| 00 42 4d 6f 44 45 00 00 | 00 4e 53 69 5a 45 00 00 |.BMoDE..|.NSiZE..|
|00002de0| 00 5a 00 80 ff ff 00 00 | 00 08 06 81 cd c4 00 80 |.Z......|........|
|00002df0| ff ff 00 00 00 00 06 82 | e1 b8 00 80 ff ff 00 00 |........|........|
|00002e00| 00 04 00 00 00 00 00 80 | ff ff 00 00 07 8e 06 81 |........|........|
|00002e10| cd 54 00 80 ff ff 00 00 | 07 94 06 81 ce 00 00 00 |.T......|........|
|00002e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+