note 71753 added to function.setcookie
| From: | rajneshavon at gmaildotcom | Date: | Thu, 14 Dec 2006 10:37:43 +0000 |
| Subject: | note 71753 added to function.setcookie | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-120602@lists.php.net to get a copy of this message | ||
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
----
Server IP: 203.199.114.50
Probable Submitter: 210.214.24.249
----
Manual Page -- http://www.php.net/manual/en/function.setcookie.php
Edit -- https://master.php.net/note/edit/71753
Del: integrated -- https://master.php.net/note/delete/71753/integrated
Del: useless -- https://master.php.net/note/delete/71753/useless
Del: bad code -- https://master.php.net/note/delete/71753/bad+code
Del: spam -- https://master.php.net/note/delete/71753/spam
Del: non-english -- https://master.php.net/note/delete/71753/non-english
Del: in docs -- https://master.php.net/note/delete/71753/in+docs
Del: other reasons-- https://master.php.net/note/delete/71753
Reject -- https://master.php.net/note/reject/71753
Search -- https://master.php.net/manage/user-notes.php