What is the difference between sessions and flash?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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 |
Answer / dayanthan
session
users information stored in browser side
flash
printing the users command depends on conditions
| Is This Answer Correct ? | 0 Yes | 3 No |
Mention all the naming conventions in ruby on rails.
what are the limits of Ruby on Rails?
What is rails script? Name some of them?
What I have to do to view my project always on browser?
Tell me what is rails active record in ruby on rails?
What is rails active record?
Tell me what is rails migration?
how does ruby on rails use the model view controller (mvc) framework?
what is a rails migration? Write up a short example of a simple rails migration with a table called customers, a string column called name, and a text column called description?
Explain coc in rails?
Explain the controller in rails?
what is the difference between destroy and delete?