added a obsolete message for GetAppSessionByID method