There are two types of cookies available in ASP.NET as shown below:
Session cookies: Present on the client machine and valid only for single sessions
Persistent cookies: Present on the user machine and has a specific period denoting its expiry
Next up on this top .NET interview questions and answers, we need to check out certain aspects of security controls in .NET.