Ruby on Rails Question:
Download Job Interview Questions and Answers PDF
What is session and cookies?
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.
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 Question | Next Question |
Whats the difference between symbol and string? | Why RubyonRails? |