A
Adam J Knight
Hi all,
I am trying to test to see if a Session variable exists.
This was my initial attempt, and doesn't work
int intInstructorID = (Session["InstructorID"].ToString() == null ?
Convert.ToInt32(Request.QueryString["InstructorID"]):
Convert.ToInt32(Session["InstructorID"]));
Can anyone give me a head up on the best way to do this??
Cheers,
Adam
I am trying to test to see if a Session variable exists.
This was my initial attempt, and doesn't work
int intInstructorID = (Session["InstructorID"].ToString() == null ?
Convert.ToInt32(Request.QueryString["InstructorID"]):
Convert.ToInt32(Session["InstructorID"]));
Can anyone give me a head up on the best way to do this??
Cheers,
Adam