sloppycode.net
ASP Reference



Request.Cookies

Obtains information about cookies stored on the client's machine, relevant only to the domain in which the cookie was set. As with other collections, you can use both 'Request.Cookies("cookiename")' and 'Request.Cookies.Item("cookiename")' to access the value of the cookie, as well as using an ordinal reference to the a certain cookie ie 'Request.Cookies(3)'.

Other information available, in the format 'Request.Cookies("cookiename").[Itemname]', are :

Expires - returns the date when the cookie expires.

Domain - Returns the domain in which the cookie was set.

Path - Represents the path in which the cookie was set on the server.

Secure - Instructs the browser to send the cookie only to pages within the path specified in the Path property.

One other notable property 'count', which returns the number of elements in the current cookie. See Response.Cookies for more details.
› Home
› C#
› Snippets
› Articles
› Tools
› Taglines
› ASP
› Dictionary Object
› FSO
› Unix cheat sheet
› Gaming
› CSS
› Yak
› Umbraco
› About
› Contact
› Privacy
› Projects
› Search
› Sitemap





Buy on Amazon



Buy on Amazon



Buy on Amazon



Buy on Amazon