I'm trying to figure out how to determine whether the user's session has timed out or not.
I need them to log back in if it has.
I tried the code below but it didn't work:
The user ends up with a really ugly .NET error.
How can I solve this?
UserID = Session["UserID"].ToString();