Note: Cookie names are case sensitive. As in the case of apple=red and Apple=red are added as two separate entries...and, As in the case of Micro is set but micro is called to get and delete which could not be found and cannot be deleted. Similarly, to change the value of a set cookie, you must use the correct name and case of that cookie.
| Set Cookie (sName=Value) | Get Cookie (sName) | Del Cookie (sName) | Comment |
|---|---|---|---|
| msdn=testCookie | msdn | msdn | |
| apple=red | apple | apple | |
| Apple=red | Apple | Apple | Different case in the sName then the entry above |
| Micro=soft | micro | micro | Different case in the sName call on Get and Delete |
| Micro=computer | Micro | Micro | Changes the value of the cookie sName set above |
| Max=number | Max | Max | Fully populate the cookie |
[Right-click and choose View Source from the shortcut menu.]
© 2007 Microsoft Corporation. All rights reserved. Terms of use.