ASP Request.Cookies Collection Last Updated : 24 Mar, 2021 Comments Improve Suggest changes Like Article Like Report Basically Cookies are small files that are stored on a user’s computer. They are used to hold a modest amount of data specific to a particular client and website and can be accessed either by the web server or by the client computer. The Request.Cookies Collection is used for returning the value of the collection of the cookies. If the specified cookie does not exist, it is created. If the cookie exists, it takes the new value, and the old value is discarded. Syntax: Request.Cookies( cookie )[(key)|**.**attribute] Parameter: Name: It specifies the name for the Cookies. Key: It is not an optional parameter represents a key value for the cookies. Attribute: It specifies the information about the cookies . The attribute parameter can be one of the following. Domain: Write-only. It specifies the cookie sent only to the requests domain name. Expires: It specifies the expiry date of the cookies. If the data is not set, then the cookies will expire after the session ends. HasKeys: Read-only. It specifies whether the cookie contains keys or not. Path: Write-only. If specified, the Cookie is sent only to requests to this path. If this attribute is not set, the application path is used. Secure: write-only. It represents that the cookies are secured. Value: It defines a value that is assigned to the key or attribute. Example: Basically "Request.Cookies" command is used to get a cookie value. Below code illustrates that how to return the value of cookies named as "firstname". PHP <% Response.Cookies("site")="GeeksforGeeks" sname=Request.Cookies("site") response.write("Grow with " & sname) %> Output: Grow with GeeksforGeeks Comment More infoAdvertise with us Next Article ASP Request.Cookies Collection M manaschhabra2 Follow Improve Article Tags : Websites & Apps ASP-Properties ASP-Basics Similar Reads ASP Response.Cookies Collection Basically Cookies are small files which are stored on a userâs computer. It is used to hold a modest amount of data specific to a particular client and website and can be accessed either by the web server or by the client computer. The Response.Cookies Collection is used for setting the value of col 2 min read ASP Request.Form Collection The Request.Form Collection in ASP is used for returning the collection of form elements that posted to the HTTP request body, with a form using the POST method. Syntax Request.Form( element )[(index)|.Count] Parameter: Element: It specifies the name of the form elements. It is a required attribute 1 min read ASP Request.QueryString Collection The ASP Request.QueryString Collection is used to get the value of the variable that will be stored in the HTTP query string from the URL. The Query string is a part of the URL that begins with a question mark (?). Generally, it contains the information of the user. <a href= "geek.asp?txt=this 1 min read ASP Session.Contents Collection The ASP Session.Contents Collection is used for collecting the items which are appended to the Application object by using script command.  This Collection can also be used to provide a list of items that have been given session scope,  We can use the Contents.Remove and Contents.RemoveAll methods 1 min read ASP Request Object The ASP Request Object is used to retrieve the information from the client browser. The Request Object is used when the client wants to request for a particular page from the server.  The Request Object has properties, methods, and collections that are given below Collections : Client Certificate: 2 min read Like