• 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeiginter 3 session problem

#1
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
Reply

#2
(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!
Reply

#3
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.
Reply

#4
(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
Reply

#5
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...
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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