javascript asp教程第九课--cookies
Setting a cookie with ASP is pretty simple. The format is If on the first page of your ASP application Response.Cookies is set, and subsequently on page two of your application Response.Cookies is reassigned a second value, then only the second value will remain. The first value is lost in this circumstance. The solution is to either use multiple cookies or to use multiple Keys in the SAME cookie. Response.Cookies="Here's the first Key.". The Setting of one or more Keys is pretty simple. It follows this format: Generally you will find ASP cookie management to be far easier than Client Side JavaScript cookies. Down below is the script that retrieves the cookies. . Click Here to see how we would sort cookies. Do I even need to explain "firstCookie" and "secondCookie"?To delete a cookie, give it an expiration date in t