code: def save_session(self, *args, **kwargs):
          
  
          # do not send session cookie
          if g.get('stateless_sessions'):
              return
  
          # send cookie
          return super(BoilerSessionInterface, self).save_session(
              *args,
              **kwargs
          )
docs: Save session
          Skip setting session cookie if requested via g.stateless_sessions