Welcome Guest, Not a member yet? Register   Sign In
Search Results
    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.
41,815 Views
24 Replies
12-17-2020, 07:37 AM
blasto333
    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?
5,611 Views
8 Replies
01-20-2020, 12:28 PM
blasto333
    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 (https://github.com/phpredis/phpredis) and then create application/libraries/MY_Session.php...
5,611 Views
8 Replies
01-16-2020, 01:01 PM
blasto333
    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
4,555 Views
6 Replies
12-14-2019, 10:03 AM
blasto333
    Thread: CI 3 using native sessions instead of driver
Post: RE: CI 3 using native sessions instead of driver

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

dave friend Wrote: (12-12-2019, 08:32 AM) -- 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_w...
4,555 Views
6 Replies
12-12-2019, 08:35 AM
blasto333
    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 ...
4,555 Views
6 Replies
12-11-2019, 07:39 PM
blasto333
    Thread: PHP 7.4.0 Released!
Post: RE: PHP 7.4.0 Released!

Does anyone know if CI 3.1.1 works?
5,551 Views
5 Replies
12-11-2019, 07:03 PM
blasto333
    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 ...
12,254 Views
7 Replies
12-11-2019, 07:14 AM
blasto333
    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 sessio...
990 Views
0 Replies
12-10-2019, 10:20 AM
blasto333
    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 bu...
1,101 Views
0 Replies
12-04-2019, 11:48 PM
blasto333
    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.
4,287 Views
3 Replies
10-27-2015, 02:44 PM
blasto333
    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? blasto333 Wrote: (09-23-2015, 06:57 PM) -- has anyone created a helper...
29,305 Views
10 Replies
09-24-2015, 07:29 AM
blasto333
    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...
29,305 Views
10 Replies
09-23-2015, 06:57 PM
blasto333
    Thread: CI 3.0.1 random logouts
Post: RE: CI 3.0.1 random logouts

PaulD Wrote: (09-16-2015, 07:02 AM) -- 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/libraries...
4,287 Views
3 Replies
09-16-2015, 07:15 AM
blasto333
    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.
19,681 Views
15 Replies
09-08-2015, 07:56 AM
blasto333
    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
19,681 Views
15 Replies
09-07-2015, 07:19 PM
blasto333
    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/blob/871754af60251993d640981e107d2def5f2db396...
19,681 Views
15 Replies
09-07-2015, 01:18 PM
blasto333
    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...
19,681 Views
15 Replies
09-03-2015, 07:10 PM
blasto333
    Thread: CI 3 native session driver?
Post: RE: CI 3 native session driver?

mwhitney Wrote: (09-03-2015, 11:52 AM) -- What exactly do you need the memcached session driver (http://www.codeigniter.com/user_guide/libraries/sessions.html#memcached-driver) to do which it doesn't...
19,681 Views
15 Replies
09-03-2015, 11:58 AM
blasto333

Theme © iAndrew 2016 - Forum software by © MyBB