what is session and cookies

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


Please Help Members By Posting Answers For Below Questions

What is the rail console?

490


What is the difference between save and save?

519


What is active record in rails?

524


Why we use migration in rails?

487


Explain the controller in rails?

470






What is rails migration? What can it do?

446


what is sweeper in Rails?

494


How is direct different from render?

495


What is the importance of rjs?

475


Mention the types of variables available in Ruby Class?

560


Are there any disadvantages of ruby on rails? If yes, mention them.

474


Which command is used to create a migration?

501


What role does garbage collection play?

502


what is ORM (Object-Relationship-Model) in Rails?

542


what is the log that has to seen to check for an error in ruby rails?

472