def save_session(self, *args, **kwargs):
        """
        Save session
        Skip setting session cookie if requested via g.stateless_sessions
        """

        # do not send session cookie
        if g.get('stateless_sessions'):
            return

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