Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: alt.php.sql Subject: Re: sessions vs cookies for ecommerce cart in php Date: Sat, 17 Aug 2019 23:52:24 +0200 Lines: 12 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 7grCqwCn1ffkO6x/fYbn2QLEijBXRQ9nQE6ztp7Z4MCXqd/45x Cancel-Lock: sha1:RGbYV2Mrabpl/hPTYXK1kmItK4k= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 In-Reply-To: Content-Language: en-US-large Xref: csiph.com alt.php.sql:26 On 03/08/2019 09.34, johnbon9999@gmail.com wrote: > I havent implemented this as yet - Im really looking to see if I can set my session lifetime to last a few hours/days instead. The life length of a cookie/sessions (a session is a cookie too) is in the end decided by the client, for example there are browsers who will remove all cookies/sessions as soon as the user leaves the site. -- //Aho