Automated session generation and analysis