What is the difference between sessions and flash?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of $ in ruby?

476


what is the defined operator?

624


How are blocks created?

552


How are string and symbol different?

490


How you run your Rails Application without creating database ?

470






what is the difference between destroy and delete?

517


what is the difference in scope for these two variables: @@name and @name?

460


How many types of variables are available in ruby class?

492


What is the difference between render and redirect?

498


Explain coc in rails?

566


What is the use of the super function in ruby on rails?

461


Tell me what is the difference between the observers and callbacks in ruby on rails?

452


how many types of callbacks available in ror?

595


Explain Get and post method?

524


Is ruby on rails dying?

482