``set_default_session_data`` saves a variable to the BinaryView. Session data is ephemeral not saved to a database. Consider using :py:func:`store_metadata` if permanence is needed. :param str name: name of the variable to be saved :param str value: value of the variable to be saved :Exam
(name: str, value: str)
| 2947 | |
| 2948 | @staticmethod |
| 2949 | def set_default_session_data(name: str, value: str) -> None: |
| 2950 | """ |
| 2951 | ``set_default_session_data`` saves a variable to the BinaryView. Session data is ephemeral not saved to a database. Consider using :py:func:`store_metadata` if permanence is needed. |
| 2952 | |
| 2953 | :param str name: name of the variable to be saved |
| 2954 | :param str value: value of the variable to be saved |
| 2955 | |
| 2956 | :Example: |
| 2957 | >>> BinaryView.set_default_session_data("variable_name", "value") |
| 2958 | >>> bv.session_data.variable_name |
| 2959 | 'value' |
| 2960 | """ |
| 2961 | _BinaryViewAssociatedDataStore.set_default(name, value) |
| 2962 | |
| 2963 | @property |
| 2964 | def preload_limit(self) -> int: |
nothing calls this directly
no test coverage detected