Public Class WebForm2 Inherits System.Web.UI.Page Protected WithEvents Label1 As System.Web.UI.WebControls.Label #Region " Web Form Designer Generated Code " 'This call is required by the Web Form Designer. Private Sub InitializeComponent() End Sub Private Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init 'CODEGEN: This method call is required by the Web Form Designer 'Do not modify it using the code editor. InitializeComponent() End Sub #End Region Private Sub Page_Load _ (ByVal sender As System.Object, ByVal e As System.EventArgs) Handles _ MyBase.Load 'Put user code to initialize the page here Label1.Text = "Welcome " + Session.Item("Name") End Sub End Class