protected void Page_Load(object sender, EventArgs e) { XmlUtil x_util = new XmlUtil(); Hashtable State = (Hashtable)HttpRuntime.Cache[Session.SessionID]; if (State == null || State.Count <= 2) { Page.ClientScript.RegisterStartupScript(this.GetType(), Guid.NewGuid().ToString(), "timeOut('../Default.aspx');", true); return; } if (!IsPostBack) { String[] Values = x_util.GetMobileCommerce(State, State["SelectedApp"].ToString()); if (Values != null) { MobileCommerceUsername.Text = Values[0]; MobileCommercePassword.Text = Values[1]; } } }