[What is your topic? Be specific. Keep it brief]
I have two page ,first is login page in which user has to give username and password ,after login user can change only his info .I used session object for login bt i dont have any idea about how to use session object in second page in which user see and edit only his infor.
Niradhip ChakrabortyPosted Jul 6, 2009, 7:56 AM
Session["UserName"] = txtUserName.Text;
And retrieve it in following way in second page.
string strUserName = Session["UserName"].ToString();
Now your strUserName string holds the username which you have assigned in first page.