hello,
can anyone tell me how i can create a "User Account" for each user based upon his username? since i am new to this ,i have tried using sessions but i'm getting an error "Object reference not set to an instance of an object."
Session["uname"] = TextBox1.Text;
Session["pass"] = TextBox3.Text;
Label8.Visible = true;
cmd.ExecuteNonQuery();
the above code is in the registration page.
Label4.Visible = true;
Label4.Text = Request.QueryString.ToString();
Response.Write("welcome" + Session["uname"].ToString());
this is the code in the next page.please suggest some tips.