Leaked source code of windows server 2003
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.

30 lines
1.1 KiB

  1. <!-- ############################################################################ -->
  2. <!-- ## UDDI Services ## -->
  3. <!-- ## Copyright (c) Microsoft Corporation. All rights reserved. ## -->
  4. <!-- ############################################################################ -->
  5. <%@ Page Language='C#' %>
  6. <%@ Import Namespace='System.Web' %>
  7. <%@ Import Namespace='UDDI' %>
  8. <script language='C#' runat='server'>
  9. protected string searchID;
  10. protected void Page_Init( object sender, EventArgs e )
  11. {
  12. searchID = Request[ "search" ];
  13. if( null == searchID )
  14. searchID = Guid.NewGuid().ToString();
  15. if( UDDI.Web.UddiBrowser.IsDownlevel )
  16. Response.Redirect( "search.aspx?search=" + searchID );
  17. else
  18. Response.Redirect( "frames.aspx?frames=true&search=" + searchID );
  19. /*if( Request.Browser.Type.IndexOf( "IE" ) >= 0 && Request.Browser.MajorVersion >= 5 )
  20. Response.Redirect( "frames.aspx?frames=true&search=" + searchID );
  21. else
  22. Response.Redirect( "search.aspx?search=" + searchID );*/
  23. }
  24. </script>