Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Using Sessions for High Traffic with AJAX
Post: RE: Using Sessions for High Traffic with AJAX

I still use CodeIgniter version 3. I'm basing myself on this sentence from the session documentation (Session Library — CodeIgniter 3.1.13 documentation (https://codeigniter.com/userguide3/librarie...
258 Views
3 Replies
05-19-2022, 07:22 AM
ElTomTom
    Thread: Memcached throws errors when using it as session handler
Post: Memcached throws errors when using it as session h...

We are trying to use Memcached (1.5.22) as a session handler on a server with Apache + PHP 7.4 and CodeIgniter 3.1.11, however, we have observed random errors with the message below: Quote: -- Co...
90 Views
0 Replies
05-12-2022, 05:50 PM
ElTomTom
    Thread: Using Sessions for High Traffic with AJAX
Post: Using Sessions for High Traffic with AJAX

I was reading the CodeIgniter 3 documentation on using sessions and high traffic with AJAX, and it recommends using session_write_close(). My application has functions that write and read directly fr...
258 Views
3 Replies
05-12-2022, 05:46 PM
ElTomTom
    Thread: Set application name to database
Post: Set application name to database

PostgreSQL allows you to define the name of the application, so that we can know which app is running a connection. Does CodeIgniter's database.php have any parameters to define this?
345 Views
1 Replies
04-07-2022, 02:53 PM
ElTomTom
  Bug Thread: Query Builder Nest Joins at the end of the Query
Post: Query Builder Nest Joins at the end of the Query

I'm creating a query with Query Builder for PostgreSQL, my query has tables and joins for each table. It so happens that PostgreSQL requires that joins that use a table must be below it in the Query....
362 Views
1 Replies
03-30-2022, 02:20 PM
ElTomTom
    Thread: CodeIgniter with PostgreSQL and PgBouncer in Transaction mode
Post: CodeIgniter with PostgreSQL and PgBouncer in Trans...

I've always used PgBouncer in session mode, but its performance isn't so good, as PHP scripts that run for a long time end up with a long session connected to the database (even for minutes), without ...
305 Views
0 Replies
11-04-2021, 01:40 PM
ElTomTom
    Thread: Can anyone help me with this one.
Post: RE: Can anyone help me with this one.

Fast Option: PHP Code: -- $query = $this->db->query('YOUR QUERY HERE'); -- Or maybe create a view (without order) and use like a table.
1,284 Views
2 Replies
10-22-2020, 05:52 AM
ElTomTom
    Thread: CodeIgniter with PostgreSQL and PgBouncer in Transaction mode
Post: CodeIgniter with PostgreSQL and PgBouncer in Trans...

Previously we used PostgreSQL 9 with PgBouncer in session mode, and with that was able to easily create a new record and get the last ID with db->insert_id('table', 'pk_column'). But the use of the...
850 Views
0 Replies
10-21-2020, 01:20 PM
ElTomTom
  Exclamation Thread: Connect to PostgreSQL DB with DSN and SSL Certificate
Post: Connect to PostgreSQL DB with DSN and SSL Certific...

I currently use the database configuration using array, in a simple way. But I will need to migrate to a PostgreSQL database that requires ssl (required) mode and also has a CRT certificate. How d...
875 Views
0 Replies
10-16-2020, 12:38 PM
ElTomTom
    Thread: Block access to content with htaccess
Post: Block access to content with htaccess

Is there a problem creating an htaccess file that blocks direct access to PHP files? My plan is to put this file inside the application folder and recursively this block will occur for other folder...
2,173 Views
1 Replies
06-08-2020, 10:09 AM
ElTomTom
    Thread: Removing and Adding Custom Headers in Email Helper
Post: Removing and Adding Custom Headers in Email Helper

How do I remove the X-PHP-Originating-Script and User-Agent header that are sent by CodeIgniter when using PHP's mail() function?
1,119 Views
1 Replies
03-05-2020, 05:28 PM
ElTomTom

Theme © iAndrew 2016 - Forum software by © MyBB