Why when I specify session.cookie_lifetime = 10000 // Cookies are not created. However, when I specify large lifetime, cookies are created. session.cookie_lifetime = 15000000 On Tue, 9 Nov 2004 08:11:46 -0500, ankur_os@xxxxxxxxxxxx <ankur_os@xxxxxxxxxxxx> wrote: > I just want to give you a simple example that for diff. of session and cookie is > that--- > > When in our gmail account we will see that one option is there to save the > password for 2 weeks, so that eans when u check that bbox and submit then one > cookie is created for that comp. with your details nand the expiry time would be > for 2 weeks (by converting insec.). > > And when u r in checking of your in box just copy the contents of address bar > and then closs all the windo and again paste the address bar link it will sshow > you the login page because your inforation is stored in seession.So when a page > starts it first of al it check the session.it will check the session id from > your co. which is not set when you logged out.... > > FOR SESSION == " A visitor accessing your web site is assigned an unique id, > the so-called session id. The session support allows you to register arbitrary > numbers of variables to be preserved across requests. When a visitor accesses > your site, PHP will check automatically (if session.auto_start is set to 1) or > on your request (explicitly through session_start() or implicitly through > session_register()) whether a specific session id has been sent with the > request. If this is the case, the prior saved environment is recreated. " > > FOR COOKIE == " Cookies are a mechanism for storing data in the remote browser > and thus tracking or identifying return users. " > > Ankur Dave > PHP Developer > INDIA > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php