What is the difference bitween cookies and sessions/
Answer Posted / mfsi_satyakamm
Cookies exist in your local hard disk which is stored by the
browser in your local hard disk.
Sessions are used for passing of information as long as you
are using a site. After that session expires.
For example:
Suppose you login to a site using a login name and password.
This login name and password information are stored by the
browser in your local hard disk in form of cookies, so that
when you login next time you don't have to re-enter your
login name and password.
When you finally logged in to the site and start using the
site, then a session starts. Session helps in passing of
information between user and browser. As long as you are
using the site, the session is active and continuously helps
in passing of information. But when you exit from the site
by logging out or just by leaving the site, then the session
expires.
After leaving a site the cookie still exists in your local
hard disk unless you delete it manually. Using this existing
cookie you can login into the same site without providing
user name and password again.
But when you leave a site then the session expires i.e. it
is being deleted and you will never be able to get it. If
you try to re-login again(i.e. after deleting the cookies)
to the site by using the session you won't be able to
re-login as the session has already expired.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain the difference between alpha testing and beta testing.
What is your Approach when you find 10 Sev-1 bugs in 50 test cases?
what are the test bugs
Tell me the advantage and disadvantage of cookies?
What is test driver and test stub?
How can software qa processes be implemented without stifling productivity?
what are all the things we will include in " what to be tested and what not to be tested" in Test Plan
How do you Prepare a Defect Managemnt Policy
sanity testing is done during regression testing.is it true.if it is true plz explain?
What are the benefits of creating multiple actions within any virtual user script?
plz tell me the difference b/w PB/MF based appl.with examples. Thanks
In manual testing, what are stubs and drivers?
!what are the entry criteria for antomation testing ?
14.What is function point breakdown?
What type of projects can include in Logistics Domain? and what is the type of domain for project which include Driving license renewal, Different type of title registration etc...