The API itp.ValidateRunModelSessionId allows custom ASP.NET web pages to verify:
void ValidateRunModelSessionId (String sessionid)
Parameters:
sessionid specifies the session ID that should be validated.If the passed session ID is invalid, the API itp.ValidateRunModelSessionId throws an exception. The session ID will also be considered invalid if it corresponds to a session that has not been prepared for runmodel functionality.