SG Digital Interview Question

How does a web session work?