From Login Page:
protected void loginbtn_Click(object sender, EventArgs e)
{
string username, password;
username = unametxt.Text;
password = pswdtxt.Text;
Session["username"] = username;
Session["password"] = password;
}
Another Page after Login:
string username = Session ["username"].toString();
string pwd = Session ["password"].toString();