Question:
What is session and cookies? What is the difference between session & cookies? Where the session & cookies use?
Answer:
cookies are stored in user's Browser, whereas sessions are not.
once a browser is closed the info stored in session is lost. session variables are like token which are passed from one page to another.
Also user can enable or disable cookies by configuring his browser settings. Source: CoolInterview.com
Answered by: Frankil | Date: 6/10/2009
| Contact Frankil
Session is use to store Sensitive information on server with single client pc. Cookie is use to store temparary information on client computer. Source: CoolInterview.com
Answered by: Bharat | Date: 10/2/2009
| Contact Bharat
A cookie that is erased when the user closes the Web browser. The session cookie is stored in temporary memory and is not retained after the browser is closed. Session cookies do not collect information from the user’s computer. They typically will store information in the form of a session identification that does not personally identify the user. Source: CoolInterview.com
Answered by: Sunilkumar Shinde | Date: 2/17/2010
| Contact Sunilkumar Shinde
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|