as session is tried to an IIS application, a unique key is required to define that application. IIS metadata is used. the app name is the meta base site name, and the id is a generated hex value that is appended to the a sessionid when generated.
ASPStateTempApplications table data in ASPSTATE database

Yalla
1
Reputation point
I have [ASPStateTempApplications] and [ASPStateTempSessions] tables in ASPSTATE database. I wanted to know how the data being inserted into these 2 tables. Where does AppName and AppId's are getting generated. I see some IIS worker process paths in the table for AppName. I clearly wanted to know where it is being setup and coming to [ASPStateTempApplications] table.