Persistent data that is available to all users is stored in the Library repository.
In addition, each session has its own repository, which stores the run-time map state. It can also be used to store other data, like temporary layers that apply only to an individual session. For example, a temporary layer might be used to overlay map symbols indicating places of interest.
Data in a session repository is destroyed when the session ends.
A resource identifier for a resource in the Library will always begin with Library://. For example:
Library://Samples/Layouts/SamplesPhp.WebLayout
A resource identifier for a session resource will always begin with Session:, followed by the session id. For example:
Session:70ea89fe-0000-1000-8000-005056c00008_en//layer.LayerDefinition