asp.net.ph

HttpCookieCollection.AllKeys Property

System.Web Namespace   HttpCookieCollection Class


Gets a string array containing all the keys ( cookie names ) in the cookie collection.

[ VB ]
Public ReadOnly Property AllKeys As String ( ) 

[ C# ]
public string [ ] AllKeys {get;}

[ C++ ]
public: __property String* get_AllKeys ( );

[ JScript ]
public function get AllKeys ( ) : String [ ];

Property Value

An array of cookie names.

Example

The following example creates a string array containing the names of the cookies in a client's cookie collection.

[ VB ]
Dim myCookieNamesArray ( ) As String = Request.Cookies.AllKeys


[ C# ]
String [ ] myCookieNamesArray = Request.Cookies.AllKeys;
See Also

HttpCookieCollection Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph