Ruby on Rails Question:
Download Questions PDF

What is the difference between sessions and flash?

Answer:

Session is only for store the small amount of user
data,which data not stored permanently that's when we logged
out from our application.. which session value will removed.
But Flash is used to display the some messages like error
message and useful information messages in view pages...

Download Ruby on Rails Interview Questions And Answers PDF

Previous QuestionNext Question
What is the functionality of Model views and controllers?What are filters? and how many types of filters are there in ruby?