CodeIgniter Forums
Codeiginter 3 session problem - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Codeiginter 3 session problem (/showthread.php?tid=64541)



Codeiginter 3 session problem - vidhyaprakash85 - 03-02-2016

I have created a login page and when user logins and uses the system.
After some time the session expiry
Then login page comes to login
When user give information and login it is again coming to same page.

Kindly help me in this issue


RE: Codeiginter 3 session problem - richardotabil - 03-02-2016

(03-02-2016, 09:19 AM)vidhyaprakash85 Wrote: I have created a login page and when user logins and uses the system.
After some time the session expiry
Then login page comes to login
When user give information and login it is again coming to same page.

Kindly help me in this issue

I am having similar problems . I cant login at all , even when everything seems right ; no errors -- it just wont log in . I have been dealing with this for the past 3 days  and i thought i was the only one . Maybe i will just downgrade to 2, because my application worked 100% on it!


RE: Codeiginter 3 session problem - Narf - 03-02-2016

There are many, many, many ways to tie your authentication process to sessions - if you want anybody to help you, you'd have to provide a lot of details.


RE: Codeiginter 3 session problem - vidhyaprakash85 - 03-06-2016

(03-02-2016, 12:22 PM)Narf Wrote: There are many, many, many ways to tie your authentication process to sessions - if you want anybody to help you, you'd have to provide a lot of details.

what u want


RE: Codeiginter 3 session problem - gidro - 03-07-2016

Yes, i see this,
$config['sess_expiration'] = 0;
helped me.

on another is always logout,
but CI 2 - $this->session->set_userdata('last_activity', mktime());
works fine...