The
HttpContext class has a static property
Current which will get you access to just about anything on the current request you'd need apart from the actual page class. Thus you could do this:
System.Web.HttpContext.Current.Session["MyObject"] = myObject;
Keep in mind that you might want to do a not null check on Current in the event the code is called from a non web context if that's likely to happen.
-Peter
peterlanoie.blog