#NEWLINE# def set_session_data( self , session_id , key , value ) : #NEWLINE# #INDENT# '\n        Store a key-value pair into the sessions data associated with this\n        request. This data is stored server-side and cannot be modified by\n        the client.\n        :param session_id: (string) The ID of this session as returned from check_auth\n        :param key: (string) The key to store the data under\n        :param value: (any) The data to store\n        ' #NEWLINE# sess = self . _get_session_info ( session_id ) #NEWLINE# sess . setdefault ( 'serverdict' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) [ key ] = value #NEWLINE# self . _save_session ( self )