What is the difference bitween cookies and sessions/

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is difference between win 98 and win 2000 poertating system?which is better one?

1798


How can data caching have a negative effect on load testing results?

2455


what is quality Factor

2087


What is Cyclometric testing?

1856


could anyone explain application testing in sequence order i don't have any experience in that

1589






how will u create diff types of scenario for any website?

1869


What kind of input do we need from the end user to begin proper testing?

1048


What is test plan and contents available in a test plan?

781


When to stop testing? (Or) how do you decide when you have tested enough?

708


What are some best practices that you should follow when writing test cases?

776


Is compatabilitytestig and port testing are same

1546


What is the difference between Functional testing and Unit Functionality testing?

1594


define risk management system with example ?

1625


user id @ yahoo.com (or) yahoo.co.in (or) gmail.com.... etc

1998


What are the advantages of black box testing?

738