• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
codeigniter 4.04 session destroy automatically

#11
PHP Sessions Login with remember me

Make sure you use a token and save it to the users record every time.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#12
Thanks for reply
I tried ..still getting logout automatically

Can u give same in codeignter 4 with secure one
Will implement easily
As I think some issue in my codeignter 4 login
Already done all settings still same issue

How u guys do...u guys not facing such issues what...
If not please share u codeignter 4 folder with all settings ..like php.in etc

Thanks
Reply

#13
Also just questions
That remember me
Will work for login and when user come again will not need to login again
But what I am facing is logout from page which is already tested with session check condition
Users are logout suddenly
Help me with strong code.
Reply

#14
Implementing Secure User Authentication in PHP Applications with Long-Term Persistence (Login with "Remember Me" Cookies)
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#15
Okay thanks

I taught u would share your codeigniter files

It's strange non of here are not facing such issues..and if not, still not sharing.

I meant, why same is not working in codeigniter...does framework need to be corrected for session

Any way will try it, atleast you helping me

Thanks
Reply

#16
I use Myth/Auth which is built for CodeIgniter 4
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#17
(04-18-2021, 11:15 AM)InsiteFX Wrote: I use Myth/Auth which is built for CodeIgniter 4

 Thanks for your continued support

I had tried myth-auth... But found bit complicated.. hence had drop same

By the way just want to know
session.gc_maxlifetime can be 0 ?

Bcz same I saw in core session.php

Thanks
Reply

#18
No 0 will turn sessions off it should be set to 1.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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