code: function ( settings ) {
  			try {
  				return JSON.parse(
  					localStorage.getItem('DataTables_'+settings.sInstance+'_'+window.location.pathname)
  				);
  			} catch (e) {}
  		}
docs: Load the table state. With this function you can define from where, and how, the
  state of a table is loaded. By default DataTables will load from `localStorage`
  but you might wish to use a server-side database or cookies.
  @type function
  @member
  @param {object} settings DataTables settings object
  @return {object} The DataTables state object to be loaded
  
  @dtopt Callbacks
  @name DataTable.defaults.stateLoadCallback
  
  @example
  $(document).ready( function() {
  $('#example').dataTable( {
  "stateSave": true,
  "stateLoadCallback": function (settings) {
  var o;
  
  // Send an Ajax request to the server to get the data. Note that
  // this is a synchronous request.
  $.ajax( {
  "url": "/state_load",
  "async": false,
  "dataType": "json",
  "success": function (json) {
  o = json;
  }
  } );
  
  return o;
  }
  } );
  } );