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
How use Xml data in ASP.net?
What is http request and response?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
How we implement the multiple paypal value with gridview in my website and how we make a payment through Credit Card.
When maintaining session through sql server, what is the impact of read and write operation on session objects?
Describe the master page.
Can action method static?
What is the difference between “Web.config” and “Machine.Config”?
What is session in http request?
what are the Custom controls in asp.net?
Describe the Server Control Events of ASP.NET?
Why do we use web config?
How to make paging concepts in datagrid in ASP.NET?
Which of the following .NET framework supports Web API?
How can we call webservices in Banking Applications? and where we are using it?