What is the difference between cookies and session?
Answer Posted / m.chenna krisha reddy
cookie:
1.cookie store client side
2.cookies can store only string type
3.cookies is non secure since stored text format at client side
4.there is limited size
session:
1.session store server side
2.session store any type of data because the value is of datatype of object
3.there is no limitation size
4.session is secure because it is stored in binary format
Is This Answer Correct ? | 62 Yes | 5 No |
Post New Answer View All Answers
What are the Configuration files in .net?
Explain how can you clean up objects holding resources from within the code?
What is cli in c#?
What is boxing and unboxing in c#?
If casting fails what type of exception is thrown?
What is class in oops with example in c#?
Can constructor have return type c#?
What is difference between ienumerable and list in c#?
What is the usage of transponders?
In the page load event I assigned dropdownlist’s datasource property to a valid list. On the submit button click.. The same datasource property is coming as null. Why?
What are satellite assemblies? How will you get the different language strings?
What is Wrapper class in dot net?
What is the keyword used to prevent a class from being inherited by another class?
How to use delegates with events?
Why do we use reflection in c#?