Re: session or cookie

From: Date: Fri, 10 Nov 2000 20:47:51 +0000
Subject: Re: session or cookie
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-24714@lists.php.net to get a copy of this message
A cookie is a HTTP header, much like the headers in your email, like Subject:, To:, From:, etc. http://home.netscape.com/newsref/std/cookie_spec.html A session is something that us programmers sometimes use cookies to implement. A session is basically you being authenticated (so to speak) on a web site, just a you would log into your email, while the program is still open, you don't need to enter in your password again to get new mail. However if you close your email program, and restart it, you need to log in again. So, for example, when your email program is closed, your session has ended. This is similar to sessions on a web site -- but not necessarily with the emphasis on the password -- the emphasis is usually on a unique identifier. -jeremy brand http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more --------------------------------------------------------------------- We cannot do everything at once, but we can do something at once. -- Calvin Coolidge On Sat, 11 Nov 2000, Mark Lo wrote: > Date: Sat, 11 Nov 2000 04:34:44 +0800 > From: Mark Lo <markloky@netvigator.com> > To: php general <php-general@lists.php.net> > Subject: [PHP] session or cookie > > Hi, > > I would like to know what is the difference between session and > cookies. > > Thank you > > Mark lo > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.general (#24714) next »