What is the difference between sessions and flash?

Answer Posted / anbuselvan.v

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 messsages in view pages...

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is rails scaffolding?

581


Explain rvm in rails?

446


how you can run Rails application without creating databases?

451


What is a proc ?

545


Explain model in rails?

470






How can the filter methods in ruby on rails be protected?

446


What is rails migrations?

481


what are helpers and how to use helpers in ror?

522


What is ruby on rails & why it is used for?

424


How to serialize data with yaml?

511


Where does the start_tabnav gets informations for tabs rendering in ruby rail?

476


What is the current version of ruby on rails?

453


What is the difference between save and save?

519


Explain about restful architecture?

465


Write a program to generate and run the application without the use of database

437