System.Web.HttpCookie Class
Information   Base Types   Related Resources

Provides a type-safe way to create and manipulate individual HTTP cookies.

  • Namespace: System.Web
  • First seen in: .NET v1.0.3705
  • Last seen in: .NET v1.1.4322
  • Last changed in: .NET v1.0.3705
  • Assembly: System.Web.dll

  • System.Object
  • View this type on MSDN
  • View this type on WinFX 247
    Articles (10)Discussions (199)MembersRotorChanges
    Articles

    Page: 1
    ASP.NET State Management using C#
    The Code Project
    ASP.NET State Management using C#
    C# And Cookies
    C# Help
    Cookies allow you to store small bits of data on the user's computer. They take up a small amount of space on the user's hard drive and are often useful for storing nonessential information, such as user preferences.
    FIX: The .NET Framework Managed Provider for OLE DB may not return an Oracle error message if the locale setting is not "en-us"
    http://www.kbalertz.com/
    (326722) - Explains that the .NET Framework Managed Provider for OLE DB may not return an Oracle error message if the locale setting is not "en-us". Requires that you install a hotfix to resolve the problem.
    Form Authentication Tickets ASP.Net
    The Code Project
    How to create different session time outs for different users
    Implement multiple currencies with a cookie and a DropDownList
    ScootASP.NET
    Many shopping cart style web apps will be needing to implement multiple-currency capabilities to their systems. This is a simple example which uses a cookie that contains the users currency preference, and is set by selecting the relevent value from a drop down list, (which gets its values from a db table). The cookie also contains the exchange rate, relative to the base currency of the system.
    PRB: ASP.NET Does Not Encode Cookies in UrlEncode Format by Default
    http://www.kbalertz.com/
    (313282) - When you develop ASP.NET applications that share cookies between earlier versions of Microsoft Active Server Pages (ASP) and ASP.NET code, the data may not be encoded or unencoded as expected.
    Role-based Security with Forms Authentication
    DevHood
    Forms Authentication in ASP.NET can be a powerful feature. With very little code and effort, you can have a simple authentication system that is platform-agnostic. If your needs are more complex, however, and require more efficient controls over assets, you need the flexibility of groups. Windows Authentication gives you this flexibility, but it is not compatible with anything but Internet Explorer since it uses NTLM, Microsoft's proprietary authentication system. Now you must choose how to manage your assets: provide multiple login pages / areas and force users to register for each, or assign groups to users and limit access to pages / areas to particular groups.
    Sharing ASP State with ASP.NET
    ASPToday
    Developers with ASP-based applications that use session and application state management (i.e. “session variables”) are stuck if you want to gradually migrate existing state-using applications to ASP.NET. Even though ASP.NET provides both session and application state management, they each run in their own scope. ASP and ASP.NET pages can cohabitate in the same virtual directory, but Sessions and the Application scope in ASP.NET’s ASPx pages are distinct from ASP pages in the same virtual directory.
    The Power of Base Pages
    DotNetJunkies
    You can gain flexibility, maintainability, and power by subclassing System.Web.UI.Page. In this article, you'll learn how to create a class to serve as the base for all of your site Web forms, and then see it in action.
    Working with Cookies in ASP.NET
    Squiffler
    We can look at a cookie as a configuration setting maintained by our web site, but the difference with a cookie is that it is stored on the clients machine by the web browser. Perhaps the most common use for a cookie is marking whether someone should be logged back in when they return to a site, but they can also be used to store small configuration items, like the last search term the person used on your site or their site colour preferences.
    Ad
    MBR BootFX
    Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
     
     Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
    Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com