Hi In VB also,
the namespaces are same.
you can easily convert the code.
Here solution of Session:
Create a Class Named Employee which will hold values like ID, username, email etc.
then store that into session like:
Employee obj;
Session["UserInfo"] = obj;
if(Session["UserInfo"] != null)
{
Employee obj = Session["UserInfo"] as Employee;
}