```ruby
module Mixins
  module GenericSessionMixin

    private

    def get_session_data
      prefix      = self.class.session_key_prefix
      @title      = respond_to?(:title) ? title : ui_lookup(:tables => self.class.table_name)
      @layout     = prefix
      @lastaction = session["#{prefix}_lastaction".to_sym]
      @display    = session["#{prefix}_display".to_sym]
      @filters    = session["#{prefix}_filters".to_sym]
      @catinfo    = session["#{prefix}_catinfo".to_sym]
      @showtype   = session["#{prefix}_showtype".to_sym]
    end

    def set_session_data
      prefix = self.class.session_key_prefix
      session["#{prefix}_lastaction".to_sym] = @lastaction
      session["#{prefix}_display".to_sym]    = @display unless @display.nil?
      session["#{prefix}_filters".to_sym]    = @filters
      session["#{prefix}_catinfo".to_sym]    = @catinfo
      session["#{prefix}_showtype".to_sym]   = @showtype
    end
  end
end
```

Fix rubocop warnings in GenericSessionMixin
user
```ruby
module Mixins
  module GenericSessionMixin
    private

    def get_session_data
      prefix      = self.class.session_key_prefix
      @title      = respond_to?(:title) ? title : ui_lookup(:tables => self.class.table_name)
      @layout     = prefix
      @lastaction = session["#{prefix}_lastaction".to_sym]
      @display    = session["#{prefix}_display".to_sym]
      @filters    = session["#{prefix}_filters".to_sym]
      @catinfo    = session["#{prefix}_catinfo".to_sym]
      @showtype   = session["#{prefix}_showtype".to_sym]
    end

    def set_session_data
      prefix = self.class.session_key_prefix
      session["#{prefix}_lastaction".to_sym] = @lastaction
      session["#{prefix}_display".to_sym]    = @display unless @display.nil?
      session["#{prefix}_filters".to_sym]    = @filters
      session["#{prefix}_catinfo".to_sym]    = @catinfo
      session["#{prefix}_showtype".to_sym]   = @showtype
    end
  end
end
```
assistant