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

How to test an application if it was already developed and it is in the state of changing the functionality according to the customer requirement How to start testing in this situation. I got an application to test.It is a desktop application.It is still developing and started 8 months back.how can i start to test this application? Is it the right way to test it in "Random testing"? or writing the testcases from page one and executing them.i have an another responsibility that is I have to automate that application. can anyone tell me what is the process to test this application.

1555


Why do we need different environments and different data? What is the other name for environment? Justify your explanation ? real time experts pls xplain?

2359


Can you explain steps in function points?

654


HI, This question is Investment Banking domain related Question. I was asked in an Interview to tell the 5 test cases for Equity,Bond,Futures and options. Please help.. Pragya

3879


where can i learn domain knowledge? how cab i gain domain knowledge? what types of Questions can be asked in domain(BFSI)? PLZ REPLY ME

1465






iam having 2+yr sof exp in manual testing, at present working in chennai,want to relocte to hyd .if any openings let me know.my id : vaniramymail.com

1627


What is CVS and why it is used?

1378


what are the typical problems in web testing?

754


What is the difference between load and stress testing?

717


WHAT IS PROTOCAL TESTING..EXPLAIN? L2, L3 PROTOCALS TESTING MEANS WHAT?EXPLAIN BRIEFLY

6294


Can you explain the elementary process?

653


1.How can you Pick Integration Test Cases? 2.When will you start Regression Testing? 3.What is the difference between QA & QC? 4.When Will you Exit In Testing? 5.Test Deliverable's 6.What is the difference between windows based appln and web based appln? 7.What are the types of regression testing?

4478


aplitue questions will be based on wich type ?

2102


How do you estimate white box testing?

664


Hi, what do you mean by internal auditing? what are the things they do in internal auditing?what they review? THNX in Advance

1662