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 |
Explain me what are the limits of ruby on rails?
Is it possible to build a 50% bespoke e-commerce platform hence having the ability to customize everything down the line? For example would it make sense to start coding an application on the Ruby on Rails framework but where the most complex/time consuming code pieces (e.g. shopping cart, etc) can be initially bolted on (hence diminishing development time and cost) having the ability to change them completely further down the line?
Tell me what is polymorphic association in ruby on rails?
What do you mean by render and redirect_to?
What is the purpose of load, auto_load, and require_relative in ruby ?
What are generators in ruby on rails?
Write the command to update rvm in rails.
what is “Yield” 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
Explain me what is the difference between concern and application_controller.rb in ruby on rails?
what is the difference between Active support’s “HashWithIndifferent” and Ruby’s “Hash” ?
what is Cross-Site Request Forgery (CSRF) and how Rails is protected against it?