System.Web Namespace HttpCookie Class
Creates and names a new cookie.
[ VB ] Public Sub New ( _ ByVal name As String _ ) [ C# ] public HttpCookie ( string name ); [ C++ ] public: HttpCookie ( String* name ); [ JScript ] public function HttpCookie ( name : String );
The following example creates and names a new cookie.
[ VB ] Dim myCookie As New HttpCookie ( "LastVisit" ) [ C# ] HttpCookie myCookie = new HttpCookie ( "LastVisit" );
HttpCookie Members HttpCookie Constructor Overload List
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note