You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
1.0 KiB

  1. using Swift.web.Library;
  2. using System;
  3. using System.Text;
  4. namespace Swift.web
  5. {
  6. public partial class OTExceed : System.Web.UI.Page
  7. {
  8. private RemittanceLibrary _sl = new RemittanceLibrary();
  9. protected void Page_Load(object sender, EventArgs e)
  10. {
  11. //Authenticate();
  12. PrintMsg();
  13. }
  14. private void Authenticate()
  15. {
  16. _sl.CheckSession();
  17. }
  18. private string GetMessage()
  19. {
  20. return GetStatic.ReadQueryString("msg", "");
  21. }
  22. private string GetErrorCode()
  23. {
  24. return GetStatic.ReadQueryString("errorCode", "");
  25. }
  26. private void PrintMsg()
  27. {
  28. var msg = GetMessage();
  29. var errorCode = GetErrorCode();
  30. var html = new StringBuilder();
  31. html.Append("<div id=\"errorExplanation\"><div>You are not allowed to do transaction at this time</div></div>");
  32. divMsg.InnerHtml = html.ToString();
  33. }
  34. }
  35. }