I think I may have answered my own question. :)
I added this into my Global.asax and it seems to work okay. It only checks at the beginning of the session instead of checking on every single page but that seems more efficient anyway.
sender, EventArgs e)
// Code that runs when a new session is started
If anyone has a better way to do this though, I'd be interested.