'Saves the session if it needs updates.  For the default
implementation, check :meth:`open_session`.  Instead of overriding this
method we recommend replacing the :class:`session_interface`.
.. deprecated: 1.0
Will be removed in 1.1. Use ``session_interface.save_session``
instead.
:param session: the session to be saved (a
:class:`~werkzeug.contrib.securecookie.SecureCookie`
object)
:param response: an instance of :attr:`response_class`'

def save_session(self, session, response):

    warnings.warn(DeprecationWarning('"save_session"    is    deprecated    and    will    be    removed    in    1.1.    Use    "session_interface.save_session"    instead.'))
    return self.session_interface.save_session(self, session, response)
