Ruby on Rails Question:

Download Job Interview Questions and Answers PDF

What is session and cookies?

Ruby on Rails Interview Question
Ruby on Rails Interview Question

Answer:

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

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

this values is not changed until the browser 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.

Download Ruby on Rails Interview Questions And Answers PDF

Previous QuestionNext Question
Whats the difference between symbol and string?Why RubyonRails?