Subversion Repositories SmartDukaan

Rev

Rev 11540 | Rev 16269 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11540 Rev 11559
Line 351... Line 351...
351
		// We only update the session every five minutes by default
351
		// We only update the session every five minutes by default
352
		if (($this->userdata['last_activity'] + $this->sess_time_to_update) >= $this->now)
352
		if (($this->userdata['last_activity'] + $this->sess_time_to_update) >= $this->now)
353
		{
353
		{
354
			return;
354
			return;
355
		}
355
		}
-
 
356
		if ($this->CI->input->is_ajax_request())
-
 
357
		{
-
 
358
			return;
356
 
359
		}
357
		// _set_cookie() will handle this for us if we aren't using database sessions
360
		// _set_cookie() will handle this for us if we aren't using database sessions
358
		// by pushing all userdata to the cookie.
361
		// by pushing all userdata to the cookie.
359
		$cookie_data = NULL;
362
		$cookie_data = NULL;
360
 
363
 
361
		/* Changing the session ID during an AJAX call causes problems,
364
		/* Changing the session ID during an AJAX call causes problems,