Hi kalaHasti,

I tried what you said but its still not working. For some reason i can access the contents of the seesion if i have:

Code:
private void Page_Load(object sender, System.EventArgs e)
{
	if (!IsPostBack)
	{
		Label4.Text = Session["userID"].ToString();
	}
			
}
i can then do:

Code:
WO_Cmd2.Parameters.Add("@UserID", Label4.Text);
So why does it work like this, any clues? I don't really want to access the session like this because i need to pass this session to other pages and i will have the same problem.

Any advice appreciated.