SG Digital interview question

How does a web session work?