Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Help needed for CI v3
Post: RE: Help needed for CI v3

if it helps I would be willing to sponsor some development of the project to maintain it. Not a huge amount but some money. If anyone is interested please reach out.
blasto333 News & Discussion 24 27,594 12-17-2020, 07:37 AM
    Thread: GET_LOCK and database sessions causing issues with AWS serverless database
Post: RE: GET_LOCK and database sessions causing issues ...

I haven’t used serverless aurora but what error are you getting?
blasto333 General Help 8 2,943 01-20-2020, 12:28 PM
    Thread: GET_LOCK and database sessions causing issues with AWS serverless database
Post: RE: GET_LOCK and database sessions causing issues ...

You might want to consider using redis (AWS elasticache) for sessions. It would require you install phpredis and then create application/libraries/MY_Session.php as below You might want to tweak some...
blasto333 General Help 8 2,943 01-16-2020, 01:01 PM
    Thread: CI 3 using native sessions instead of driver
Post: RE: CI 3 using native sessions instead of driver

All my pages are behind a login page and I do session_write_close in places I can
blasto333 Libraries & Helpers 6 2,658 12-14-2019, 10:03 AM
    Thread: CI 3 using native sessions instead of driver
Post: RE: CI 3 using native sessions instead of driver

(12-12-2019, 09:00 AM)dave friend Wrote: (12-12-2019, 08:35 AM)blasto333 Wrote: phpredis extension has much finer grain control with locking; so it should perform just as good as mysql GET_LOCK wi...
blasto333 Libraries & Helpers 6 2,658 12-12-2019, 09:02 AM
    Thread: CI 3 using native sessions instead of driver
Post: RE: CI 3 using native sessions instead of driver

(12-12-2019, 08:32 AM)dave friend Wrote: You will probably have the same locking issues with the native session extension. You probably need to spend some time figuring out where to use session_writ...
blasto333 Libraries & Helpers 6 2,658 12-12-2019, 08:35 AM
    Thread: CI 3 using native sessions instead of driver
Post: CI 3 using native sessions instead of driver

Would this be the best way to use the native php sessions instead of using their drivers? Since their drivers are just wrappers around session functions; I figured this would be the easiest way to do ...
blasto333 Libraries & Helpers 6 2,658 12-11-2019, 07:39 PM
    Thread: PHP 7.4.0 Released!
Post: RE: PHP 7.4.0 Released!

Does anyone know if CI 3.1.1 works?
blasto333 Lounge 5 4,000 12-11-2019, 07:03 PM
    Thread: Sessions Performance Issue (php7.1, CI 3.1.5)
Post: RE: Sessions Performance Issue (php7.1, CI 3.1.5)

I have the following code below and even in the view method, it can still get locked (With redis or database driver). I want to be able to run the view method parallel. It doesn't seem to do this all ...
blasto333 CodeIgniter 3.x 7 10,005 12-11-2019, 07:14 AM
    Thread: codeigniter database backed sessions GET_LOCK high number of connections
Post: codeigniter database backed sessions GET_LOCK high...

I am using CodeIgniter's database-backed sessions with persistent connections OFF. Every once in awhile I have a lot of MySQL of connections pile up because of a lot of requests on the same session....
blasto333 General Help 0 647 12-10-2019, 10:20 AM
    Thread: Codeigniter 3 session locking causing high number database connections
Post: Codeigniter 3 session locking causing high number ...

In codeigniter 3 sessions using mysql driver. SELECT GET_LOCK(sess,300) is called to prevent scripts from modifying session data at same time. This works fine until a user goes crazy and makes a bunc...
blasto333 General Help 0 701 12-04-2019, 11:48 PM
    Thread: CI 3.0.1 random logouts
Post: RE: CI 3.0.1 random logouts

This happened again; but I didn't have MySQL general log on. This time it happened in Chrome. Next time I will have more info.
blasto333 Issues 3 3,439 10-27-2015, 02:44 PM
    Thread: preg_match(): Compilation failed: regular expression is too large
Post: RE: preg_match(): Compilation failed: regular expr...

I was able to write my own method and use simple_query...Is this the right method to use for RAW queries without regex issue? (09-23-2015, 06:57 PM)blasto333 Wrote: has anyone created a helper meth...
blasto333 Issues 10 21,512 09-24-2015, 07:29 AM
    Thread: preg_match(): Compilation failed: regular expression is too large
Post: RE: preg_match(): Compilation failed: regular expr...

has anyone created a helper method to update 5 columns in a table with a very large where_in array? I am going to write a method for this; but if someone already has a similar method I would love to u...
blasto333 Issues 10 21,512 09-23-2015, 06:57 PM
    Thread: CI 3.0.1 random logouts
Post: RE: CI 3.0.1 random logouts

(09-16-2015, 07:02 AM)PaulD Wrote: Have you tried setting the $config['sess_time_to_update'] to 0 so that session is not regenerated automatically. http://www.codeigniter.com/user_guide/li...ref...
blasto333 Issues 3 3,439 09-16-2015, 07:15 AM
    Thread: CI 3 native session driver?
Post: RE: CI 3 native session driver?

But even if it wasn't for KCFinder; I can see other use cases for sharing data between 2 applications where one might be CI and other is not.
blasto333 Libraries & Helpers 15 15,715 09-08-2015, 07:56 AM
    Thread: CI 3 native session driver?
Post: RE: CI 3 native session driver?

Here is another use case for native sessions. This forum talks about sharing session data between ci and non ci apps on same server See http://forum.codeigniter.com/thread-61385.html
blasto333 Libraries & Helpers 15 15,715 09-07-2015, 07:19 PM
    Thread: CI 3 native session driver?
Post: RE: CI 3 native session driver?

Looks like it was previously developed and then deleted from CI before release. Could this be forward ported? https://github.com/bcit-ci/CodeIgniter/b...native.php ?
blasto333 Libraries & Helpers 15 15,715 09-07-2015, 01:18 PM
    Thread: CI 3 native session driver?
Post: RE: CI 3 native session driver?

Thank you for your input. I understand I can probably get one of these to work how I want to; but I don't see the harm in making a native session driver. I don't even think it would be too hard to wri...
blasto333 Libraries & Helpers 15 15,715 09-03-2015, 07:10 PM
    Thread: CI 3 native session driver?
Post: RE: CI 3 native session driver?

(09-03-2015, 11:52 AM)mwhitney Wrote: What exactly do you need the memcached session driver to do which it doesn't already? Memcached does the same thing CI3 does: it provides its own save handler ...
blasto333 Libraries & Helpers 15 15,715 09-03-2015, 11:58 AM

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.