What is session and cookies?

Submitted by: Administrator
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.
Submitted by: Administrator

Read Online Ruby on Rails Job Interview Questions And Answers