| View previous topic :: View next topic |
| Author |
Message |
samir
Joined: 12 Nov 2007 Posts: 260
|
Posted: Tue Jul 08, 2008 12:24 pm Post subject: What is cookie? |
|
|
Hi Friends,
What is the actual use of cookie? I Know the purpose of session but i didn't use cookies. If anybody knows clearly please tell me
Thanks in advance |
|
| Back to top |
|
 |
venkatadapa

Joined: 12 May 2008 Posts: 280
|
Posted: Tue Jul 08, 2008 12:30 pm Post subject: |
|
|
Hi Samir,
A cookie is often used to identify a user. A cookie is a small file that the server embeds on the user's computer. Each time the same computer requests for a page with a browser, it will send the cookie too. With PHP, you can both create and retrieve cookie values.
Ex: If you can tick remember me on this computer check box then your information stored on that computer and later if you open the browser and same server then your information is retrieved from that cookie variables |
|
| Back to top |
|
 |
|