Ruby on Rails Question:

What is session and cookies?

Tweet Share WhatsApp

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 PDF Read All 16 Ruby on Rails Questions
Previous QuestionNext Question
Whats the difference between symbol and string?Why RubyonRails?