private void Page_Load(object sender, System.EventArgs e) { // Put user code to initialize the page here Response.Write("Session: " + Session.SessionID); localhost.MyService service = new localhost.MyService(); service.CookieContainer = new System.Net.CookieContainer(); string init = service.returnSession("hi"); string second =service.returnSession("hello"); string third =service.returnSession("what?"); Response.Write("[" +init + "]<br>[" + second + "]<br>[" +third + "]"); }
private void Page_Load(object sender, System.EventArgs e) { // Put user code to initialize the page here Response.Write("Session: " + Session.SessionID); localhost.MyService service = new localhost.MyService(); service.CookieContainer = new System.Net.CookieContainer(); string init = service.returnSession("hi"); string second = service.returnSession("hello"); string third = service.returnSession("what?"); Response.Write("[" + init + "]<br>[" + second + "]<br>[" + third + "]"); }