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.
 
 
 
 
 
 

31 lines
1.1 KiB

<!-- ############################################################################ -->
<!-- ## UDDI Services ## -->
<!-- ## Copyright (c) Microsoft Corporation. All rights reserved. ## -->
<!-- ############################################################################ -->
<%@ Page Language='C#' %>
<%@ Import Namespace='System.Web' %>
<%@ Import Namespace='UDDI' %>
<script language='C#' runat='server'>
protected string searchID;
protected void Page_Init( object sender, EventArgs e )
{
searchID = Request[ "search" ];
if( null == searchID )
searchID = Guid.NewGuid().ToString();
if( UDDI.Web.UddiBrowser.IsDownlevel )
Response.Redirect( "search.aspx?search=" + searchID );
else
Response.Redirect( "frames.aspx?frames=true&search=" + searchID );
/*if( Request.Browser.Type.IndexOf( "IE" ) >= 0 && Request.Browser.MajorVersion >= 5 )
Response.Redirect( "frames.aspx?frames=true&search=" + searchID );
else
Response.Redirect( "search.aspx?search=" + searchID );*/
}
</script>