Session management for web deployments