From http://wordpress.org/support/topic/using-session-in-wordpress