Welcome Guest, Not a member yet? Register   Sign In
Lost session
#21

Did you use your browsers development tools F12 to see what is being returned on an Ajax call?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#22

(This post was last modified: 04-24-2018, 04:02 AM by scalla.)

i did as u said, session entirely only works when i downgrade to php 5.6. once i return to php 7.0 the session sets and gets destroyed once it redirect.
Reply
#23

PHP 7.2.4 is the newest version that's out now, that's what I' am running.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#24

it's a codeigniter issue, I did a temp fix on it. it affects when you running ur app via subdomain
Reply
#25

(04-24-2018, 09:51 AM)scalla Wrote: it's a codeigniter issue, I did a temp fix on it. it affects when you running ur app via subdomain

So, after 2 pages of unclarity, it's just declared to be "a codeigniter issue" without explaining how or why that is?
Reply
#26

(04-24-2018, 09:51 AM)scalla Wrote: it's a codeigniter issue, I did a temp fix on it. it affects when you running ur app via subdomain
I have the very similar issue. I need to fix it as soon as possible. May I ask what was your fix?
Reply
#27

(04-24-2018, 04:00 AM)scalla Wrote: i did as u said, session entirely only works when i downgrade to php 5.6. once i return to php 7.0 the session sets and gets destroyed once it redirect.

Note: CodeIgniter 4 requires PHP version 7.1 or higher.

https://github.com/bcit-ci/CodeIgniter4#...quirements
Reply
#28

(04-24-2018, 12:24 PM)Mayk Wrote:
(04-24-2018, 09:51 AM)scalla Wrote: it's a codeigniter issue, I did a temp fix on it. it affects when you running ur app via subdomain
I have the very similar issue. I need to fix it as soon as possible. May I ask what was your fix?

a better fix would be to stick to @natanfelles advice of 7.1 as required by codeigniter
Reply
#29

(04-25-2018, 07:52 AM)scalla Wrote:
(04-24-2018, 12:24 PM)Mayk Wrote:
(04-24-2018, 09:51 AM)scalla Wrote: it's a codeigniter issue, I did a temp fix on it. it affects when you running ur app via subdomain
I have the very similar issue. I need to fix it as soon as possible. May I ask what was your fix?

a better fix would be to stick to @natanfelles advice of 7.1 as required by codeigniter

I am us Codeigniter 3.1.8 with exactly the same issue on php 7.1.7
I am pretty sure, that the reason for this behavior is the same in Codeigniter 4 as well as in previous version
Reply
#30

PHP 7.2.4 is out now.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB