A brief difference between Session and Cookies in asp.net
Answer Posted / uday kumar vuriti
We use both Session and Cookies to maintain state between
the page postbacks. We can achieve state management using 2
ways.
1. Client Side Technique (using hidden fields, query string,
view state and Cookies)
2. Server Side Technique (using Session and Application)
Cookies will store data in client side either in browser or
in system hard disk.
Session will allocates memory in the web server and for
every user server will allocates memory. So Session is per
user based.
| Is This Answer Correct ? | 63 Yes | 4 No |
Post New Answer View All Answers
Is asp.net a programming language?
Define msil.
Can you explain one critical mapping?
Does web services support data reader like pom project?
What is advantage of code behind coding in ASP.NET?
What is new asp.net core?
Explain how does asp page work?
How to create discussion forum in asp.net mvc? : Asp.Net MVC
What is a web api endpoint?
What are the advantages of asp.net?
What are the different types of sessions in asp.net?
How do you declare static variable? What is its lifetime?
Explain about Multi-Language integration?
What are the built-in objects in asp.net?
What is actually returned from server to the browser when a browser requests an .aspx file and the file is displayed?