Differentiate session and cookie

Answer Posted / chaitali

session :session is server side..
cookie :cookie is client side..

session will be expire after 20min or user can not refresh
his page that time also session will be expired.
cookie will not expired automatically.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is route in web api?

535


What is difference Between Authentication and authorization?

578


How do cookies work?

596


Mention the namespace that is used to include .net data provider for sql server in .net code?

509


What are the two types of web pages?

522






How can you register a custom server control to a web page?

551


Can you set which type of comparison you want to perform by the comparevalidator control?

526


What is the difference between session and viewstate in asp.net?

610


What are the differences between clr & cts?

543


What is the procedure to handle the process request using mhpm events fired? : asp.net mvc

546


Can we use MSSql as backend in asp.net...if yes then How.?

585


What are the new navigation controls in asp.net 2.0?

538


What is custom attribute?

572


How to use ipostback?

594


Define machine.config in .net?

557