note 71753 deleted from function.setcookie by nlopess
| From: | nlopess@php.net | Date: | Sun, 17 Dec 2006 20:09:44 +0000 |
| Subject: | note 71753 deleted from function.setcookie by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-120707@lists.php.net to get a copy of this message | ||
Note Submitter: rajneshavon@gmail dot com
----
There are two types of cookies, session cookies and persistent cookies. The key difference between
the two is the time of expiration:
Session cookies expire at the end of the session. This means, when you close your browser window,
the session cookie is deleted. This website only uses session cookies.
Persistent cookies do not expire at the end of the session. THIS WEBSITE DOES NOT use persistent
cookies.
A session cookie may be created when you visit a site or portion of a site. The cookie exists for
the duration of your visit. For example, a session cookie is created when you use the Personal Login
to access secured pages. Depending on the settings in your browser, you may have the option to deny
the session cookie; however, if you deny the cookie you may have trouble using the site which relies
on that cookie.
Session cookies are no longer accessible after one of the following events:
The user logs out of a site or a portion of a site
The user shuts down the browser
The session is inactive for a specified length of time
The user starts a new Internet session on the same computer
A persistent cookie is used to store your preferences for use by a single site. A persistent cookie
is stored each time you visit the web site that sent the cookie.
Rajnesh Sharma
See : http://www.rajneshonline.com