what is session and cookies
Answers were Sorted based on User's Feedback
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 |
Session are used to store information about user on server
side .Whereas cookies are used on client side
| Is This Answer Correct ? | 16 Yes | 5 No |
session is a way by which we can add a object in memory between two
request .
and cookies are chunk of data which are stored on browser.
| Is This Answer Correct ? | 5 Yes | 5 No |
Answer / jagadeesh b.n
Sessions always resides at the server side where as cookies
may either resides at the client or server side.
Cookies are stored in a harddisk where as sessions are not
stored in an harddisk and they exists until the browser is
opened.
| Is This Answer Correct ? | 5 Yes | 10 No |
Tell me what is the function of garbage collection in ruby on rails?
what is Mixin in Rails?
Mention all the naming conventions in ruby on rails.
let me know what is ruby software and where and when it is usefull. Is it usefull to data base developer, if yes...where? thank you
What are the hashes?
what is the use of super function in ruby on rails?
what is “Yield” in Ruby on Rails?
Write the command to run the migration.
Explain valid and invalid in rails?
Explain how you can run rails application without creating databases?
List out what can Rails Migration do?
What is the difference between symbol and string?