SessionManager.aspx.cs.svn-base 615 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using System.Web.UI;
  6. using System.Web.UI.WebControls;
  7. using CLIP.eForm.Consent.WebService;
  8. namespace CLIP.eForm.Consent.Web {
  9. public partial class SessionManager : System.Web.UI.Page {
  10. protected void Page_Load(object sender, EventArgs e) {
  11. }
  12. [System.Web.Services.WebMethod]
  13. public static Boolean removeSession(string userId) {
  14. Boolean retValue = false;
  15. using(HospitalSvc svc = new HospitalSvc()) {
  16. retValue = svc.removeSession(userId, "true");
  17. }
  18. return retValue;
  19. }
  20. }
  21. }