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
what is difference between win 98 and win 2000 poertating system?which is better one?
How can data caching have a negative effect on load testing results?
what is quality Factor
What is Cyclometric testing?
could anyone explain application testing in sequence order i don't have any experience in that
how will u create diff types of scenario for any website?
What kind of input do we need from the end user to begin proper testing?
What is test plan and contents available in a test plan?
When to stop testing? (Or) how do you decide when you have tested enough?
What are some best practices that you should follow when writing test cases?
Is compatabilitytestig and port testing are same
What is the difference between Functional testing and Unit Functionality testing?
define risk management system with example ?
user id @ yahoo.com (or) yahoo.co.in (or) gmail.com.... etc
What are the advantages of black box testing?