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

Wat type of questions ll be asked in interview for an 1-2 yrs. experinced persond and i need some database concept question in testing.

2258


What is known as data-driven testing?

1011


Hi I want to start online training couses for testing Any body plz help me out how to start the online courses Plz post the answer here or send me a mail for kommineni.1020@gmail.com

2168


How should your staff be managed? How about your overtime?

3182


Write positive and negative test cases for forgot password?

4830


hi friends i recently finished testing course in hyderabad.now am looking for a job in uk.i need help about the projects in interview point.can any one explain me abt banking project or credit card.like what are the problems faced in u r last project etc.

1824


What about the test case if the field only takes a certain number of characters or a minimum number?

1122


Can you explain usability testing?

1094


Test cases have written according to Flow of the software working or according to Screens?

1892


why QA team is necessary for an organization?

3026


What are the various test case for google analytics, api keys , pay pal if you know please post me a answer. And how we will test

3533


What is state transition?

1180


List the type of testing perform to test microsoft excel 2003 give atleast 1 example of each type

1902


need answer interviewer will ask me about all project which i mention in resume or presently i'm working??please reply tomorrow is my interview

2021


Give the real-time example for back-to-back testing?

1804