Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Session data lost after redirect randomly (CI4.1.5)
Post: RE: Session data lost after redirect randomly (CI4...

InsiteFX Wrote: (07-02-2023, 09:39 PM) -- Can you please post your table schema with all fields and keys here so we can see it. -- Here you go: https://www.lipniunas.com/ci-session-schema.jpg
5,911 Views
19 Replies
07-02-2023, 10:45 PM
pJenkiss
    Thread: Session data lost after redirect randomly (CI4.1.5)
Post: RE: Session data lost after redirect randomly (CI4...

kenjis Wrote: (06-30-2023, 06:57 PM) -- pJenkiss Wrote: (09-27-2022, 04:16 AM) -- When I refresh the same page (without login), every few seconds a new record is added to "ci_sessions" table. No...
5,911 Views
19 Replies
07-02-2023, 05:50 AM
pJenkiss
    Thread: Session data lost after redirect randomly (CI4.1.5)
Post: RE: Session data lost after redirect randomly (CI4...

pJenkiss Wrote: (06-23-2023, 01:29 AM) -- kenjis Wrote: (06-23-2023, 01:17 AM) -- If you use Ajax heavily, do you set the request header X-Requested-With? https://codeigniter4.github.io/CodeIgniter...
5,911 Views
19 Replies
06-30-2023, 11:43 AM
pJenkiss
    Thread: Session data lost after redirect randomly (CI4.1.5)
Post: RE: Session data lost after redirect randomly (CI4...

kenjis Wrote: (06-23-2023, 01:17 AM) -- If you use Ajax heavily, do you set the request header X-Requested-With? https://codeigniter4.github.io/CodeIgniter4/general/ajax.html -- I'm not 100% sure,...
5,911 Views
19 Replies
06-23-2023, 01:29 AM
pJenkiss
    Thread: Session data lost after redirect randomly (CI4.1.5)
Post: RE: Session data lost after redirect randomly (CI4...

InsiteFX Wrote: (06-22-2023, 10:33 PM) -- Found this on stackoverflow: PHP session lost after redirect (https://stackoverflow.com/questions/17242346/php-session-lost-after-redirect) -- In CI red...
5,911 Views
19 Replies
06-22-2023, 11:58 PM
pJenkiss
    Thread: Session data lost after redirect randomly (CI4.1.5)
Post: RE: Session data lost after redirect randomly (CI4...

kabeza Wrote: (06-22-2023, 11:09 AM) -- Hi pJenkiss / tipitjafar Could you solve this issue? If so, how? -- Unfortunatelly no. We're facing random logouts on the system.
5,911 Views
19 Replies
06-22-2023, 11:58 AM
pJenkiss
    Thread: Call to undefined function CodeIgniter\Router\dot_array_search()
Post: RE: Call to undefined function CodeIgniter\Router\...

kenjis Wrote: (02-15-2023, 05:01 PM) -- dot_array_search() is defined in system/Helpers/array_helper.php. Check if the file is uploaded. -- Thank you, your message gave me the idea - yes, the file...
1,163 Views
3 Replies
02-16-2023, 04:47 AM
pJenkiss
    Thread: Call to undefined function CodeIgniter\Router\dot_array_search()
Post: Call to undefined function CodeIgniter\Router\dot_...

Hello, I have a project which recently upgraded to CI4 (4.3.1 to be precise). Everything works fine locally under Apache server and PHP 8.1.10, however, when I moved it to production environment, I g...
1,163 Views
3 Replies
02-15-2023, 03:10 PM
pJenkiss
    Thread: Session data lost after redirect randomly (CI4.1.5)
Post: RE: Session data lost after redirect randomly (CI4...

InsiteFX Wrote: (09-28-2022, 12:39 AM) -- Did you try updating to CodeIgniter 4.2.6 ? There maybe an update to the Sessions. -- Yes, latest version, issues remain..
5,911 Views
19 Replies
10-07-2022, 01:33 AM
pJenkiss
    Thread: Session data lost after redirect randomly (CI4.1.5)
Post: RE: Session data lost after redirect randomly (CI4...

Nothing helped. There is something fundamentally wrong with sessions in CI. One essential thing that makes me think that way: When I refresh the same page (without login), every few seconds a new reco...
5,911 Views
19 Replies
09-27-2022, 04:16 AM
pJenkiss
  Photo Thread: Session data lost after redirect randomly (CI4.1.5)
Post: Session data lost after redirect randomly (CI4.1.5...

Hello, I wrote a post some time ago about another issue (https://forum.codeigniter.com/showthread.php?tid=80668), but I still facing various issues with lost session data from time to time. And I hav...
5,911 Views
19 Replies
08-23-2022, 03:56 AM
pJenkiss
    Thread: Session data lost every few seconds
Post: RE: Session data lost every few seconds

kenjis Wrote: (11-30-2021, 12:02 AM) -- Check the CI4 version and session table schema. The database session had a bug and fixed in v4.1.5. https://codeigniter.com/user_guide/installation/upgrade...
2,254 Views
2 Replies
11-30-2021, 02:24 AM
pJenkiss
    Thread: Session data lost every few seconds
Post: Session data lost every few seconds

Hello, I spent my last week trying to google out any solution... still no answer.  Shortly: CI4 session data gets removed from time to time, and I don't know who does that. One of the ideas I found t...
2,254 Views
2 Replies
11-29-2021, 11:54 PM
pJenkiss
    Thread: When it will be possible to run testing environment?
Post: RE: When it will be possible to run testing enviro...

kenjis Wrote: (11-05-2021, 01:37 AM) -- Probably you want to use more than 2 environments for your development. In that case, 1. copy `app/Config/Boot/development.php` to `whateveryouwant.php`. ...
2,470 Views
6 Replies
11-05-2021, 01:42 AM
pJenkiss
    Thread: When it will be possible to run testing environment?
Post: RE: When it will be possible to run testing enviro...

kenjis Wrote: (11-05-2021, 01:18 AM) -- You can't use `testing` for your development. It is the specification, not a bug. > The environment testing is the special one for PHPUnit testing. It has s...
2,470 Views
6 Replies
11-05-2021, 01:25 AM
pJenkiss
  Question Thread: File upload validation still incorrect?
Post: File upload validation still incorrect?

Hi,  the issue I'm facing relates to this thread: https://forum.codeigniter.com/thread-76071-page-2.html  I'm using CI 4.1.4 (latest currently). Simple code to move uploaded file: PHP Code: -- $fi...
1,018 Views
1 Replies
11-04-2021, 01:17 PM
pJenkiss
    Thread: When it will be possible to run testing environment?
Post: RE: When it will be possible to run testing enviro...

I simply want to run project in testing environment. Currently, I have to set environment to "development" or "production" in order to run it.
2,470 Views
6 Replies
11-04-2021, 12:49 PM
pJenkiss
  Question Thread: When it will be possible to run testing environment?
Post: When it will be possible to run testing environmen...

Hello,  I tried to google out the answer for my issue, and I found exact issue here: Session issue with CI Environment set to Testing (CI4) (codeigniter.com) (https://forum.codeigniter.com/thread-778...
2,470 Views
6 Replies
11-04-2021, 02:03 AM
pJenkiss
    Thread: CI3 Session problem on prod environment
Post: RE: CI3 Session problem on prod environment

Just information: I was using not the latest CI version (I don't even know which was it - I downloaded it few months ago). Now I just downloaded newest version (3.1.18), replaced the system folder a...
4,416 Views
4 Replies
05-22-2018, 09:33 PM
pJenkiss
    Thread: CI3 Session problem on prod environment
Post: RE: CI3 Session problem on prod environment

Thanks for idea, however, I've tried to set it to both: ".mydomain.com" and "subdomain.mydomain.com" (this site is working as subdomain) and the result was the same: few session files were generated (...
4,416 Views
4 Replies
05-22-2018, 08:14 AM
pJenkiss

Theme © iAndrew 2016 - Forum software by © MyBB