<%@ Page language="c#" Codebehind="refresh.aspx.cs" AutoEventWireup="false" Inherits="yn165.refresh" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>refresh</title>
		<META HTTP-EQUIV="REFRESH" CONTENT="2">
		<meta name="GENERATOR" Content="Microsoft Visual Studio 7.0">
		<meta name="CODE_LANGUAGE" Content="C#">
		<meta name="vs_defaultClientScript" content="JavaScript">
		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
	</HEAD>
	<% %>
	<%  int x=Convert.ToInt16(Session["idx"]);
	//如果用户登录，则把名字改为用户名
	if (Session["username"]!=null)
	{
		Session["user"]=Session["username"].ToString();
		Application["user"+x.ToString()]=Session["user"].ToString();
	}
		if (Application["re"+x.ToString()]!=null && Application["re"+x.ToString()].ToString()!="")
		{
			%>
	<body MS_POSITIONING="GridLayout">
		<% Response.Write("<script>window.parent.location ='zixun.aspx'</script>"); %>
	</body>
	<% 
		
	}
		%>
</HTML>
