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
Can a sealed class be used as a base class?
What exactly happens when we debug and build the program?
What is difference between events and delegates?
What are the types of comments in c#?
How many bytes is an int in c#?
What is gac? What are the steps to create an assembly and add it to the gac?
Difference between call by value and call by reference in C#?
When should I throw an exception?
What is Named parameter in C#?
Is xamarin free?
Explain the importance and use of each, version, culture and publickeytoken for an assembly.
Explain the role of the datareader class in ado.net connections?
How does aspect oriented programming work?
What is exe in c#?
Which operator cannot be overloaded in c sharp?