• Re: php ini

    From K@21:1/5 to Tony Mountifield on Sat Mar 11 07:53:30 2023
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Doctor@21:1/5 to yyyyyeeeee00000@writeme.com on Sat Mar 11 23:44:42 2023
    In article <f5e01cbf-1fcb-4675-82eb-c328cf0f64c9n@googlegroups.com>,
    K <yyyyyeeeee00000@writeme.com> wrote:
    Get to watch Jesus videos !

    youtu.be/-3nN9-C1yKU

    ...
    ......
    ...........
    .........................
    ....................................... >................................................... >..................................................................... >...........................................................................= >..................




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

    This abusive spamtroll came from

    comp.lang.php #167987 (1 more)
    X-Received: by 2002:ac8:5616:0:b0:3c0:326:efb3 with SMTP id 22-
    + 20020ac85616000000b003c00326efb3mr7487583qtr.2.1678550011402;
    + Sat, 11 Mar 2023 07:53:31 -0800 (PST)
    X-Received: by 2002:a81:ae66:0:b0:541:7266:3fd7 with SMTP id
    + g38-20020a81ae66000000b0054172663fd7mr841171ywk.3.1678550010941;
    + Sat, 11 Mar
    + 2023 07:53:30 -0800 (PST)
    Path: news.nk.ca!news.uzoreto.com!peer01.ams4!peer.am4.highwinds-media.com!
    + peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-
    + out.google.com!nntp.google.com!postnews.google.com!google-groups.
    + googlegroups.com!not-for-mail
    Newsgroups: comp.lang.php
    Date: Sat, 11 Mar 2023 07:53:30 -0800 (PST)
    In-Reply-To: <pdhal4$s6m$1@softins.softins.co.uk>
    Injection-Info: google-groups.googlegroups.com; posting-host=85.253.192.41;
    + posting-account=HfIszAoAAAC8ch6q3uChpTWUALHCfEoF NNTP-Posting-Host: 85.253.192.41
    References: <pdh718$u78$1@dont-email.me> <pdhal4$s6m$1@softins.softins.co.uk> User-Agent: G2/1.0
    MIME-Version: 1.0
    Message-ID: <f5e01cbf-1fcb-4675-82eb-c328cf0f64c9n@googlegroups.com>
    Subject: Re: php ini
    From: K <yyyyyeeeee00000@writeme.com>
    Injection-Date: Sat, 11 Mar 2023 15:53:31 +0000
    Content-Type: text/plain; charset="UTF-8"
    Content-Transfer-Encoding: quoted-printable
    X-Received-Bytes: 3384
    Xref: news.nk.ca comp.lang.php:167987


    Spamtrollers are trolls posting useless spam thinking it is content
    but are posting useless noise. Spamtrolls are newsgroup vandals!
    Thoses trolls are as bad as Donald
    Trump on Twitter.

    This makes https://groups.google.com/search/conversations?qÞpeer%20Google%20Groups

    Depeer Google groups Now!!
    --
    Member - Liberal International This is doctor@nk.ca Ici doctor@nk.ca
    Yahweh, King & country!Never Satan President Republic!Beware AntiChrist rising! Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t”a1f39b Over-management takes all the fun out of life, as does nothing but fun. -unknown Beware https://mindspring.com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)