home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / ims.cab / smredir.asp < prev    next >
Text File  |  1997-10-12  |  2KB  |  57 lines

  1. <% Response.Expires = 0 %>
  2.  
  3. <% REM Get variables %>
  4. <% REM svr = Server name %>
  5. <% REM pg = Page to be loaded in main frame %>
  6. <% REM lgt = Logging type (to determine loading of Logging page) %>
  7. <% REM bg = Background color for blank page (black, grey) %>
  8. <% L_PAGETITLE_TEXT         = "Microsoft SMTP Server Administration" %>
  9.  
  10. <% svr = Request("svr") %>
  11. <% pg = Request("pg") %>
  12. <% lgt = Request("lgt") %>
  13. <% bg = Request("bg") %>
  14. <%
  15. MaxInConnections = Request("MaxInConnections")
  16. MaxOutConnections = Request("MaxOutConnections")
  17. MaxMessageSize = Request("MaxMessageSize")
  18. MaxSessionSize = Request("MaxSessionSize")
  19. BatchMessages  = Request("BatchMessages")
  20. MaxOutConnPerDomain = Request("MaxOutConnPerDomain")
  21. Direction = Request("Direction")
  22.  
  23.  
  24. %>
  25. <HTML>
  26. <HEAD>
  27. <TITLE><% = L_PAGETITLE_TEXT %></TITLE>
  28. </HEAD>
  29.  
  30. <% if (bg = "black") then %>
  31.  
  32.     <BODY BGCOLOR="#000000">
  33.  
  34. <% else %>
  35.  
  36.     <BODY BGCOLOR="#CCCCCC">
  37.  
  38. <% end if %>
  39.  
  40. <% REM If page is specified, redirect; otherwise display blank page of specified color %> 
  41.  
  42. <% if (pg <> "") then %>
  43.  
  44.     <SCRIPT LANGUAGE="javascript">
  45.         self.location = "<% = pg %>.asp?svr=<% = svr %>&MaxInConnections=<% = MaxInConnections %>&MaxOutConnections=<% = MaxOutConnections %>&MaxMessageSize=<% = MaxMessageSize %>&MaxSessionSize=<% = MaxSessionSize %>&BatchMessages=<% = BatchMessages %>&MaxOutConnPerDomain=<% = MaxOutConnPerDomain %>&Direction=<% = Direction %>";
  46.     </SCRIPT>
  47.  
  48. <% end if %>
  49.  
  50. <FORM NAME="hiddenform">
  51.  
  52.     <INPUT TYPE="hidden" NAME="helpfilename" VALUE="help/smsrvh.htm">
  53.  
  54. </FORM>
  55.  
  56. </BODY>
  57. </HTML>