can anybody will give me sample code example of session in asp.net

Like, as in, Session.Add("WhatToSay","Hello")

Label1.text = Session("WhatToSay")

Something stupid like that?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.