Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #19398

Re: php ini

Newsgroups comp.lang.php
Date 2023-03-11 07:53 -0800
References <pdh718$u78$1@dont-email.me> <pdhal4$s6m$1@softins.softins.co.uk>
Message-ID <f5e01cbf-1fcb-4675-82eb-c328cf0f64c9n@googlegroups.com> (permalink)
Subject Re: php ini
From K <yyyyyeeeee00000@writeme.com>

Show all headers | View raw


Get to watch Jesus videos !

youtu.be/-3nN9-C1yKU

...
......
...........
.........................
.......................................
...................................................
.....................................................................
.............................................................................................




On Wednesday, May 16, 2018 at 3:11:23 PM UTC+2, Tony Mountifield wrote:
> In article <pdh718$u78$1...@dont-email.me>,
> madwomans Dad <dsvir...@gmail.com> wrote: 
> > I'm trying to find out if it's possible to configure session timeout in 
> > some ini file 
> > 
> > $ php -version 
> > PHP 7.1.14 (cli) ... 
> > 
> > 
> > $ cat ./opt/alt/php71/etc/php.ini | grep session 
> > 
> > I can see all sorts of stuff but what I want is something in the ini 
> > file like session.timeout=whatever 
> > 
> > I really don't want to have to do this in code. 
> > 
> > Is there a 'secret' way to do this in the/an/some ini file
> Not specifically, as far as I can tell. 
> 
> First you need to define what you mean by "session timeout". It could 
> easily mean one of two things: 
> 
> 1. The maximum duration of a session. So a session would be destroyed 
> a specified time after it was first created, even if it was in use. 
> 
> 2. The length of time after a session's last use that it will be discarded. 
> So a session would continue to exist as long as it was used again within 
> the timeout period, but would be destroyed if not used again within the 
> timeout. 
> 
> There doesn't appear to be a php.ini setting specifically for either scenario. 
> There are some statistical garbage collection settings for cleaning up old 
> sessions when using a global file-based session store. But they are basically 
> resource management rather than hard lifetime enforcement. 
> 
> Cheers 
> Tony 
> -- 
> Tony Mountifield 
> Work: to...@softins.co.uk - http://www.softins.co.uk 
> Play: to...@mountifield.org - http://tony.mountifield.org

Back to comp.lang.php | Previous | NextNext in thread | Find similar


Thread

Re: php ini K <yyyyyeeeee00000@writeme.com> - 2023-03-11 07:53 -0800
  Re: php ini doctor@doctor.nl2k.ab.ca (The Doctor) - 2023-03-11 23:44 +0000

csiph-web