pub fn detect_session(session_id: &str, path: Option<&str>) -> Result<()>
Detect which provider a session belongs to