I have a div element on my page that I wish to show/hide based on a session value in my code-behind. How can I do this?
if your div has the runat set to server, you surely can do a myDiv.Visible = false in your Page_PreRender event for example.
myDiv.Visible = false
Page_PreRender
if you need help on using the session, have a look in msdn, it's very easy.