Re: [Fwd: note 75272 added to ref.session]
| From: | Hannes Magnusson | Date: | Mon, 21 May 2007 21:15:49 +0000 |
| Subject: | Re: [Fwd: note 75272 added to ref.session] | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969376371@lists.php.net to get a copy of this message | ||
Hi Tul
On 5/21/07, M. Sokolewicz <tularis@php.net> wrote:
I just took a look at this, it states " session.cookie_lifetime integerThe timestamp on the server is probably not the same as on the client so even if lifetime is 600seconds the cookie might a) never be set b) expire next year. This is because the 'expire' cookie parameter takes in the timestamp when it should expire, not "I should delete this cookie in 5minutes". I have no idea how/why sending the lifetime/expire parameter with setcookie() would help. Disclaimer: I didn't check the source... -Hannessession.cookie_lifetime specifies the lifetime of the cookie inseconds which is sent to the browser. The value 0 means "until the browser is closed." Defaults to 0. See also session_get_cookie_params() and session_set_cookie_params(). Since the cookie is returned by the browser, it is not prolonged to suffice the lifetime. It must be sent manually by setcookie(). " To be honest, I agree with the note-poster: I am having a very hard time figuring out what this is supposed to mean. Anyone who could shed some light on this so we can clarify the documentation?
-------- Original Message -------- Subject: note 75272 added to ref.session Date: Mon, 21 May 2007 10:03:23 -0700 From: not@telling.com To: php-notes@lists.php.net Newsgroups: php.notes [quote]Since the cookie is returned by the browser, it is not prolonged to suffice the lifetime.[/quote] What the heck does this mean? That is not english, whatever it is.