what is session and cookies

Answer Posted / jagadeesh b.n

Sessions always resides at the server side where as cookies
may either resides at the client or server side.

Cookies are stored in a harddisk where as sessions are not
stored in an harddisk and they exists until the browser is
opened.

Is This Answer Correct ?    5 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How you run your Rails Application without creating database ?

466


Explain testing in rails.

520


How many types of relationships does a model has?

477


Mention the role of rails controller.

491


What does ruby name refer to?

533






How is visibility of methods changed in ruby (encapsulation) ?

478


what is the use of super function in ruby on rails?

510


what is the difference between Active support’s “HashWithIndifferent” and Ruby’s “Hash” ?

581


Where does the start_tabnav gets informations for tabs rendering in ruby rail?

491


Do you know the role of garbage collection in ruby on rails?

464


Please explain what are the positive aspects of rails?

455


what is the difference between new, save and create?

522


Explain how Rails implements Ajax?

471


how you can create a controller for subject?

503


Mention the types of variables available in Ruby Class?

565