top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How many types of cookies are there in ASP.net?

+5 votes
403 views

How many types of cookies are there? How and where is each one used?

posted Mar 28, 2014 by Muskan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

There are two type of cookies we use in ASP.Net...

1- Persistent Cookie:- A cookie which store your information in your hard disk, and it will stored till time either you will not delete that or cookie time period does not expire. it is browser independent cookie.

2- Non - Persistent Cookie(Temprary cookie):- A cookie which will be alive till that time untill your browser is alive, As you will logout to your browser or close your browser, cookie will get expire and user information would also be lost. So it is a browser dependent cookie,

answer Mar 31, 2014 by Asmita Agrawal
...