Interviews - C# Corner

subbareddy
how many types of cookies in .net
By subbareddy in ASP.NET on Nov 02, 2007
  • Mohd Arif
    Jan, 2016 14

    Two type of cookies 1. Non Persistent cookie or session cookies:- These are temporary cookie files, which are erased when you close your browser. When you restart your browser and go back to the site that created the cookie, the website will not recognize you. You will have to log back in (if login is required) or select your preferences/themes again if the site uses these features. A new session cookie will be generated, which will store your browsing information and will be active until you leave the site and close your browser 2. Persistent cookies:- These files stay in one of your browser's subfolders until you delete them manually or your browser deletes them based on the duration period contained within the persistent cookie's file

    • 0
  • Mohd Arif
    Jan, 2016 14

    Two type of cookies 1. Non Persistent cookie or session cookies:- These are temporary cookie files, which are erased when you close your browser. When you restart your browser and go back to the site that created the cookie, the website will not recognize you. You will have to log back in (if login is required) or select your preferences/themes again if the site uses these features. A new session cookie will be generated, which will store your browsing information and will be active until you leave the site and close your browser 2. Persistent cookies:- These files stay in one of your browser's subfolders until you delete them manually or your browser deletes them based on the duration period contained within the persistent cookie's file

    • 0
  • vasu madhala
    Nov, 2007 4

    HI Subba Reddy,

                  There are 3 types of cookies-

                                                      a.In Memory cookie(for using Below 20 cookies we use this and to use more than that we go for Dictionary cookie)

                                                      b.Persistent cookie

                                                      c.Dictionary cookie(we use it if we want to use more than 20 cookies)

                               And finally Cookies are used at Client Side where as Sessions are used at Server side and views also

    • 0

Visual Studio Live - Redmond 2016

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS