Answer Posted / poornimad
Session is used for maintaining the particular value
throughout the session..(brower closed)
e.x: session[:value]="poornimad"
this values is not changed until the brower closed..
Cookies:
*********
This is used to store the values in the Browser..this
value is not delete till the cookies are deleted..This
cookies concept is same as Java cookies.The concept is same.
| Is This Answer Correct ? | 19 Yes | 3 No |
Post New Answer View All Answers
what is Rails Active Record in Ruby on Rails?
Write the command to run the migration.
What is ORM in Rails?
What is the use of the super function in ruby on rails?
What is the current version of ruby on rails?
what is Cross-Site Request Forgery (CSRF) and how Rails is protected against it?
Explain bundler in rails.
What is rails script? Name some of them?
How many types of relationships does a model has?
What are class libraries?
Are there any disadvantages of ruby on rails? If yes, mention them.
write a program to show the usage of sql in the database file?
Explain me what is the role of rails controller?
what is the difference between redirect and render in Ruby on Rails?
How would you create a controller for the subject?