I am trying to find where the state of the Moodle sections is stored?
So where is the table in the Moodle database that stored a value for each user that is changing when they expand or collapse a section in Moodle?
So that Moodle knows how to display the page the next time it is loaded.