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


Please Help Members By Posting Answers For Below Questions

What does console mean c#?

497


Does c# support const methods, properties, or events?

547


What is the difference between Static, Const and read only?

539


What is different between Boxing and Unboxing?

590


How many types of variables are there in c#?

526






What does assert() do in c#?

549


What is the use of system.environment class in c#.net?

525


Differentiate between dataset and datareader?

526


What is assembly c#?

477


What is void in c#?

530


What is a string in c#?

480


What is a function c#?

491


Explain the types of assemblies in .net?

531


Can the accessibility of a type member be greater than the accessibility of its containing type?

560


What is the difference between a field and a property in c#?

492