Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain the difference between alpha testing and beta testing.

1123


What is your Approach when you find 10 Sev-1 bugs in 50 test cases?

2536


what are the test bugs

1970


Tell me the advantage and disadvantage of cookies?

1363


What is test driver and test stub?

1185


How can software qa processes be implemented without stifling productivity?

1177


what are all the things we will include in " what to be tested and what not to be tested" in Test Plan

2132


How do you Prepare a Defect Managemnt Policy

2098


sanity testing is done during regression testing.is it true.if it is true plz explain?

2041


What are the benefits of creating multiple actions within any virtual user script?

2186


plz tell me the difference b/w PB/MF based appl.with examples. Thanks

2269


In manual testing, what are stubs and drivers?

1154


!what are the entry criteria for antomation testing ?

2534


14.What is function point breakdown?

2718


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...

2996