Welcome Guest, Not a member yet? Register   Sign In
Issue with Sessions! How to keep the user login forever
#3

(This post was last modified: 12-15-2015, 10:53 PM by behnampmdg3.)

Hi lazyfox

Thank you for the code but how could that make a difference? it's just another way of it.

I want the user to be logged in forever.

I added this library, hopefully this will help:

PHP Code:
class MY_Session extends CI_Session {

public function 
sess_update()
{
 
   $CI =& get_instance();

 
   if ( ! $CI->input->is_ajax_request())
 
   {
 
       parent::sess_update();
 
   }
 
 }


xo
Reply


Messages In This Thread
RE: Issue with Sessions! How to keep the user login forever - by behnampmdg3 - 12-15-2015, 10:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB