what is session and cookies

Answers were Sorted based on User's Feedback



what is session and cookies..

Answer / poornimad

Session is used for maintaining the particular value
throughout the session..(brower closed)

e.x: session[:value]="poornimad"

this values is not changed until the brower closed..

Cookies:
*********
This is used to store the values in the Browser..this
value is not delete till the cookies are deleted..This
cookies concept is same as Java cookies.The concept is same.

Is This Answer Correct ?    19 Yes 3 No

what is session and cookies..

Answer / deepali kherudkar

Session are used to store information about user on server
side .Whereas cookies are used on client side

Is This Answer Correct ?    16 Yes 5 No

what is session and cookies..

Answer / vivek gupta

session is a way by which we can add a object in memory between two
request .
and cookies are chunk of data which are stored on browser.

Is This Answer Correct ?    5 Yes 5 No

what is session and cookies..

Answer / 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

More Ruby on Rails Interview Questions

What is the architecture of Model views and controllers

0 Answers   Baidu,


explain request/response cycle?

0 Answers  


Please explain what are the positive aspects of rails?

0 Answers  


If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?

0 Answers  


what is a rails migration? Write up a short example of a simple rails migration with a table called customers, a string column called name, and a text column called description?

0 Answers  






how you can run Rails application without creating databases?

0 Answers  


what is Mixin in Rails?

0 Answers  


what is Rails Active Record in Ruby on Rails?

0 Answers  


Whats the difference between symbol and string?

2 Answers  


what are helpers and how to use helpers in ror?

0 Answers  


How can the filter methods in ruby on rails be protected?

0 Answers  


who developed rails?

0 Answers  


Categories