Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: $session->destroy() throws exception
Post: RE: $session->destroy() throws exception

Interesting. And what happens if you add one more call to $session->destroy()?
151 Views
5 Replies
04-11-2024, 10:34 PM
joho
    Thread: $session->destroy() throws exception
Post: RE: $session->destroy() throws exception

Bosborne Wrote: (04-11-2024, 03:36 AM) -- You are assigning variables to session variables that may not exist. If that session variable does not exist you will get an exception.  If you are running C...
151 Views
5 Replies
04-11-2024, 06:01 AM
joho
    Thread: VIRUS reported after Chrome update this morning!
Post: RE: VIRUS reported after Chrome update this mornin...

Where does the Wacatac.H!ml come from? https://answers.microsoft.com/en-us/windows/forum/all/windows-defender-trojanscriptwacatachml-keeps/93ef0ec1-3170-48d6-86af-5373ff6c3cd1
188 Views
3 Replies
04-11-2024, 01:47 AM
joho
    Thread: $session->destroy() throws exception
Post: $session->destroy() throws exception

Why does this throw an exception? PHP Code: --         $session = \Config\Services::session();         $session_username = $session->get( 'session_username' );         $session_login_time = $session...
151 Views
5 Replies
04-11-2024, 01:44 AM
joho
    Thread: Global session check and re-direct
Post: RE: Global session check and re-direct

I ended up doing it in a global filter, we'll see how that goes. Thank you for your comments.
185 Views
4 Replies
04-04-2024, 06:03 AM
joho
  Question Thread: Global session check and re-direct
Post: Global session check and re-direct

Scenario: Segmented application, with two or more parts, handling different aspects of access. Similar to how an OAuth situation would look. In the main application, I need to check if there's a va...
185 Views
4 Replies
04-04-2024, 01:49 AM
joho
    Thread: Do not use the CI 4 session library
Post: RE: Do not use the CI 4 session library

Most excellent news :)
485 Views
8 Replies
03-28-2024, 04:58 PM
joho
    Thread: Do not use the CI 4 session library
Post: RE: Do not use the CI 4 session library

ElTomTom Wrote: (03-28-2024, 06:57 AM) -- joho Wrote: (03-26-2024, 04:04 PM) -- Just out of curiosity, because I use PHP session settings geared for Redis too, what is it with CI4 sessions that does...
485 Views
8 Replies
03-28-2024, 07:49 AM
joho
    Thread: E-mail and UTF-8, mb_, etc.
Post: RE: E-mail and UTF-8, mb_, etc.

My comments about multi-byte handling still stands, I created my own setMessageText() function that is a mix of what was there and something that handles and . This assumes I send my message as HTML:...
186 Views
1 Replies
03-27-2024, 07:13 AM
joho
    Thread: CI4 support MariaDB?
Post: RE: CI4 support MariaDB?

InsiteFX Wrote: (03-27-2024, 04:23 AM) -- We are seeing increasing requests for migrations from MariaDB to MySQL.DB and dolphins MariaDB has significantly diverged, and is no longer drop-in compat...
1,289 Views
11 Replies
03-27-2024, 07:06 AM
joho
  Question Thread: E-mail and UTF-8, mb_, etc.
Post: E-mail and UTF-8, mb_, etc.

Looking at the Email class in CI4, shouldn't things like setMessage() and possibly other functions utilize mb_ functions for trimming, replacing, and so on to support multi-byte data properly? This in...
186 Views
1 Replies
03-27-2024, 02:07 AM
joho
    Thread: Sharing things between CI4 instances
Post: RE: Sharing things between CI4 instances

kenjis Wrote: (03-27-2024, 01:30 AM) -- Do you mean that you want to have only one repository? Then, like this: https://codeigniter4.github.io/CodeIgniter4/general/managing_apps.html#running-multip...
170 Views
4 Replies
03-27-2024, 01:39 AM
joho
    Thread: Sharing things between CI4 instances
Post: RE: Sharing things between CI4 instances

kenjis Wrote: (03-27-2024, 01:01 AM) -- If you create Composer packages, you can share the code easily. https://codeigniter4.github.io/CodeIgniter4/extending/composer_packages.html You don't need...
170 Views
4 Replies
03-27-2024, 01:13 AM
joho
    Thread: Sharing things between CI4 instances
Post: Sharing things between CI4 instances

For a number of reasons, I'm toying with a "split app setup". There are basically three separate and isolated CI4 "instances" or "installations" serving the same platform. One is used for signing up/r...
170 Views
4 Replies
03-27-2024, 12:38 AM
joho
    Thread: CI4 support MariaDB?
Post: RE: CI4 support MariaDB?

demyr Wrote: (11-22-2023, 12:06 AM) -- InsiteFX Wrote: (10-26-2023, 09:23 PM) -- I use it all the time not MySQL it works just fine -- @"InsiteFX"  Are you on a shared hosting plan and if yes, how...
1,289 Views
11 Replies
03-27-2024, 12:35 AM
joho
    Thread: Transient support for Settings
Post: RE: Transient support for Settings

The use case range from settings that are related to a given window of time. Basically, I guess you could say that a setting with no TTL is a permanent setting, whereas a setting with a TTL value is a...
177 Views
3 Replies
03-27-2024, 12:28 AM
joho
    Thread: Transient support for Settings
Post: Transient support for Settings

Sorry if this has been covered elsewhere or by other features. It'd be nice if settings could accept a TTL parameter. Not sure how the best way would be to pass it, but the idea is that a setting c...
177 Views
3 Replies
03-26-2024, 04:30 PM
joho
    Thread: Do not use the CI 4 session library
Post: RE: Do not use the CI 4 session library

ElTomTom Wrote: (03-25-2024, 07:14 AM) -- Today I have the PHP Session with Redis configuration, with fallback, name configuration, etc., all defined in my php.ini file, however in CI4 I cannot use P...
485 Views
8 Replies
03-26-2024, 04:04 PM
joho
    Thread: Security exception when cache is passed as view parameter
Post: RE: Security exception when cache is passed as vie...

InsiteFX Wrote: (03-25-2024, 03:52 AM) -- Your passing the data and cache multiple times, you only need to pass it once. always pass the data in the first view, then it is available to all other v...
190 Views
5 Replies
03-26-2024, 03:07 AM
joho
    Thread: Security exception when cache is passed as view parameter
Post: RE: Security exception when cache is passed as vie...

kenjis Wrote: (03-25-2024, 04:08 AM) -- You cannot cache HTML forms with CSRF token. CSRF tokens cannot be shared with others. -- Fair enough, that makes sense. But why does it start behaving so s...
190 Views
5 Replies
03-25-2024, 07:01 AM
joho

Theme © iAndrew 2016 - Forum software by © MyBB