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/

Answers were Sorted based on User's Feedback



What is the difference bitween cookies and sessions/..

Answer / mfsi_krushnas

1.If you set the variable to "cookies", then your users
will not have to log in each time they enter your
community.

2.The cookie will stay in place within the user’s browser
until it is deleted by the user.

3.If you set the variable to "sessions", then user activity
will be tracked using browser sessions, and your users
will have to log in each time they re-open their browser.
Additionally, if you are using the "sessions" variable,
you need to secure the "sessions" directory, either by
placing it above the web root or by requesting that your
web host make it a non-browsable directory.

3.The Key difference would be cookies are stored in your
hard disk whereas a session aren't stored in your hard
disk. Sessions are basically like tokens, which are
generated at authentication. A session is available as
long as the browser is opened.

Is This Answer Correct ?    3 Yes 0 No

What is the difference bitween cookies and sessions/..

Answer / 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

What is the difference bitween cookies and sessions/..

Answer / priyanka agrawal

cookies are stored in the user's browser, and sessions are
not. A cookie can keep information in the user's browser
until deleted.But Sessions are popularly used, as the there
is a chance of your cookies getting blocked if the user
browser security setting is set high.

If you set the variable to "sessions", then user activity
will be tracked using browser sessions, and your users will
have to log in each time they re-open their browser.

The Key difference would be cookies are stored in your hard
disk whereas a session aren't stored in your hard disk.
Sessions are basically like tokens, which are generated at
authentication. A session is available as long as the
browser is opened.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Manual Testing Interview Questions

I attended an interview for Testing as a fresher, I said I already had project training, they asked me if I found anything difficult while testing or preparing test cases, one other question was if I am given the same test cases again the next day will it be a waste of time. Really I dont know what answers they expect please help.

2 Answers  


what is difference between regression & retesting?

7 Answers  


what is the test metrics followed if its a small scale company i mean not a cmm level company

1 Answers  


what wil be your approach while testing any software ,test to pass or test to fail?

4 Answers  


Hi,please help me out with my ques:as soon as the build we get from developer,how will we start testing?first all how the build we get (means which form)?who will install it in the system and how tl will assign us the work?

1 Answers  


what type of bugs u found commonly in ur project?

3 Answers   Wipro,


Test case preparation time Vs Test case execution Time. Say for example if 500 Man hour takes to prepare test case then how long test case exexution will take?

0 Answers  


What Is Functional Testing?

7 Answers  


WHAt is diff between test plan and test planning?

5 Answers  


what type of review process u r following in u'r company?

4 Answers   IBM, TCS,


what is prototype testing, component testing, thread testing

1 Answers  


Tell me some of the Possible test cases on ATM Machine?

10 Answers   IBM, MBT,


Categories