private void InitPortalSession()
    {
        Init init = new Init();
        Hashtable State = (Hashtable)HttpRuntime.Cache[Session.SessionID];

        //set browser type
         State["Browser"] = Request.Browser.Browser;
         State["BrowserVersion"] = Request.Browser.Version;
         State["UserHostAddress"] = Request.UserHostAddress;

         //delete any old temp files
         Util util = new Util();
         util.DeleteOldTempFiles(State);
         util.DeleteOldErrorsInLog(State);
    }