|            
"###################################################(代码开始)  < html>  < head>  < meta  http-equiv="Content-Type"  content="text/html;  charset=gb2312">  < META  NAME="Author"  CONTENT="蒲俊杰">  < META  NAME="Keywords"  CONTENT="ASP,www.aspcn.com">  < title>Response测试  < /head>  < body> 
  < html>  < head>  < meta  http-equiv="Content-Type"  content="text/html;  charset=gb2312">  < META  NAME="Author"  CONTENT="蒲俊杰">  < META  NAME="Keywords"  CONTENT="ASP,www.aspcn.com">  < title>Response测试  < /head>  < body>  < ?  echo  " 这是一个测试,你好呀!欢迎你访问我们的网站< a  href=http://www.aspcn.com>www.aspcn.com "  ;  ?>  < /body>  < /html> 
  < /body>  < /html>  "###################################################(代码结束)    test.php文件被当作一个文本文件include进来了,但是如果我们把原来的Server.asp文件中的Server.Transfer  "test.php"换成  Server.Transfer  "Response.asp"在Try一下(这样做,其实是让你了解ASP的引擎对于Server.Transfer的具体的解析情况),看看结果?是不是同我们直接运行Response.asp的结果一样???    我不知道,你现在对于Server.Transfer的用法糊涂没有?我都有一点糊涂了!但是不要忘了我写这篇东西的关键:Server.Transfer比Response.Redirect好,因为前者少了一个流程,加快了速度的,节约了时间,后者我就不说了,只是提醒你一点的就是Server.Transfer到底该用在什么条件下(前面很清楚了,我不多说了,再说我也就糊涂了,你多Try几下就明白了)!
   
 |