We know that Http is stateless, means when we open a webpage and fill
some information and then move to next page then the data which we have
entered will lost.
It happed do to Http protocol stateless nature. So here session come
into existence, Session provide us the way of storing data in server
memory. So you can store your page data into server
memory and retrieve it back during page postbacks.