Ruby on Rails Question:

What is the difference between sessions and flash?

Tweet Share WhatsApp

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 PDF Read All 16 Ruby on Rails Questions
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?