Answer Posted / raja
Sessions can be used to store even complex data for the user just like cookies. Actually, sessions will use cookies to store the data, unless you explicitly tell it not to. Sessions can be used easily in ASP.NET with the Session object. We will re-use the cookie example, and use sessions instead. Keep in mind though, that sessions will expire after a certain amount of minutes, as configured in the web.config file.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Compare client server application with n-tier application
What's the problem with .net generics?
What is the use of common language runtime?
Explain about .NET services?
What is "common language runtime" (clr) in .net?
What is Polymorphism? How does VB.NET/C# achieve polymorphism?
What exactly is being serialized when you perform serialization in .net?
What is .net technology?
Explain the differences between server-side code and client-side code.
What is difference between .net and .net core?
Explain .NET architecture?
Tell about your technical profile ?
What does jit do?
What is the purpose of enumerable class in .net?
Is there any inbuilt tool or command provided by .NET to view the code inside the assembly?