From an article related to Quantum Elf:
SqlSessionStateStore does not actively track the Expires field. Instead, it relies on an external agent to delete the database and delete expired sessions, whose Expires field contains a date and time less than the current date and time. The ASPState database includes a SQL Server Agent job that periodically (by default, every 60 seconds) calls the DeleteExpiredSessions stored procedure to delete expired sessions.
This means that SQL Server handles the deletion and cleaning of session objects and, in particular, the SQL Job agent.
source share