PHP Questions Home | Register | Login
Categories
Arrays
Files
Forms
Creating PDFs
PHP Errors
Functions
Images
MySQL
Numbers
Others
Strings
Website
Unanswered

PHP Forums
Forums Index
MySQL Forum
PHP Forum
Flash/Actionscript
Javascript
Web design

More PHP
PHP Functions
Top Questions
Ask a Question
PHP Interview Questions
PHP Jobs
Ecommerce
IT Questions
Business Websites

Sponsors

sponsor ad
My Salary
PHP Developer Salary
Advertise Here

What is the difference between sessions and cookies?


Sessions and cookies are indeed different, though they are often used in conjunction or as alternative ways to achieve a purpose, which is for data or authentication to persist over a set period of time, or browser session.

Read more about sessions here:

http://uk3.php.net/manual/en/intro.session.php

Read more about cookies here:

http://uk.php.net/setcookie

Comment on this Question and Answer >>>

ASK A QUESTION

More other PHP Questions

What is a constant in PHP?

Can I include Javascript in my PHP code?

Can I spellcheck my text using PHP?

How do you get an array of the date and time?

How do I define a constant in PHP?



Custom Search