protected void Page_Load(object sender, EventArgs e) { // debug //object addr = this.Session[HesterConsultants.AppCode.SiteUtils.SESSION_REMOTE_ADDR]; //if (addr != null) // this.lblSessionRemoteAddr.Text = "addr: " + addr; //else // this.lblSessionRemoteAddr.Text = "addr: null!"; this.header1.PageInfo = PageInfo.ReportsRelative; HesterConsultants.AppCode.HitHandler hit1 = new HesterConsultants.AppCode.HitHandler(this, this.pageId); hit1.HandlePage(); if (this.Request.QueryString["visitorId"] != null && this.Request.QueryString["visitorId"] != String.Empty) { visitorId = this.Request.QueryString["visitorId"]; } if (visitorId != String.Empty) { SqlDataSource1.SelectCommand = "SessionsForVisitor"; } else { SqlDataSource1.SelectCommand = "GetAllSessions"; SqlDataSource1.SelectParameters.Clear(); } }
protected void Page_Load(object sender, EventArgs e) { this.header1.PageInfo = PageInfo.ReportsRelative; HesterConsultants.AppCode.HitHandler hit1 = new HesterConsultants.AppCode.HitHandler(this, this.pageId); hit1.HandlePage(); if (this.Request.QueryString["sessionId"] != null && this.Request.QueryString["sessionId"] != String.Empty) { sessionId = Convert.ToInt32(this.Request.QueryString["sessionId"]); } }