What is the difference between sessions and flash?

Answer Posted / milind kanchan

Session is for the application i.e If user logs in the
session will be applied for the user.
Flash is valid from one request to other i.e if the page is
redirected from one page to other,its valid in within this
request.

Is This Answer Correct ?    23 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How are string and symbol different?

487


How do I find only duplicate entries in a database table?

595


Tell me what is orm (object-relationship-model) in rails?

433


Explain valid and invalid in rails?

487


What are the servers supported by ruby on rails?

508






What is rails active record?

471


How can you protect filter methods in rails?

475


What is a webrick web server?

502


how does ruby on rails use the model view controller (mvc) framework?

445


When are self.up and self.down methods used?

502


when self.up and self.down method is used?

498


Explain the features of ruby on rails.

458


What is the difference between concern and application_controller.rb in ruby on rails?

465


what are the limits of Ruby on Rails?

524


Can you explain me how rails implements ajax?

449