What is the difference between sessions and flash?

Answers were Sorted based on User's Feedback



What is the difference between sessions and flash?..

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

What is the difference between sessions and flash?..

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

What is the difference between sessions and flash?..

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

Post New Answer

More Ruby on Rails Interview Questions

What is the purpose of auto_load in ruby?

0 Answers  


what are the positive aspects of Rails?

0 Answers  


Explain model in rails?

0 Answers  


Choosing between belongs_to and has_one?

0 Answers  


I would like to know about ruby on rails.I want to know.how will be the future for ruby on rails.please tell me.

9 Answers   Baidu, TCS,






Mention the log that has to be seen to report errors in Ruby Rails?

0 Answers  


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

0 Answers  


What is the difference between delete and destroy ?

0 Answers  


What do you understand by rails?

0 Answers  


What is the directory structure of rails?

0 Answers  


What is active record in rails?

0 Answers  


How you run your rails application without creating databases?

0 Answers  


Categories