What is the difference between sessions and flash?

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

Read Online Ruby on Rails Job Interview Questions And Answers