I have created a user login form it contains:
division.dropdown
subdivision.dropdown
username.text
passwrd
I want to create a session and this session must contains division name,subdivision name, and username. i will use these things in other forms for some other purpose. so please tell me me how to create a session of these three things.
Session
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Sandeep ShekhawatRank #2,439 · 577 reputationPosted Jun 23, 2011, 4:19 AM EDT
Session["division"] = dddivision.SelectedItem.Text; //Dropdownlist
Session["subdivision"] = subdddivision.SelectedItem.Text;//Dropdownlist
Session["username"] = txtusername.Text;//Text Box
use another page simple
string division=Session["division"].ToString();
.
...
same for all
but confirm on first login page your drop down list not again fill when page is post back.