日期:2014-05-17  浏览次数:20942 次

ASP文件缓存问题
<%
      dim   str
      if   session( "song ")=empty     then
      str= "music/music.m3u "
      else
      str= "listen.m3u "
      end   if

%>
<meta   http-equiv= "pragma "   content= "no-cache ">  
<meta   http-equiv= "cache-control "   content= "no-cache ">  
<meta   http-equiv= "expires "   content= "0 ">
<div   id= "Layer2 "   style= "cursor:hand; ">
<object   id= "player "   height= "64 "   width= "260 "   classid= "CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 ">
        <param   name= "AutoStart "   value= "-1 "   />
        <!--是否自动播放-->
        <param   name= "Balance "   value= "0 "   />
        <!--调整左右声道平衡,同上面旧播放器代码-->
        <param   name= "enabled "   value= "-1 "   />
        <!--播放器是否可人为控制-->
        <param   name= "EnableContextMenu "   value= "-1 "   />
        <!--是否启用上下文菜单-->
        <param   name= "url "   value= " <%= " "&str& " "%> "   />               //在这里读入   m3u
        <!--播放的文件地址-->
        <param   name= "PlayCount "   value= "-1 "   />
        <!--播放次数控制,为整数-->
        <param   name= "rate "   value= "1 "   />
        <!--播放速率控制,1为正常,允许小数,1.0-2.0-->
        <param   name= "currentPosition "   value= "0 "   />
        <!--控件设置:当前位置-->
        <param   name= "currentMarker "   value= "0 "   />
        <!--控件设置:当前标记-->
        <param   name= "defaultFrame "   value= " "   />
        <!--显示默认框架-->
        <param   name= "invokeURLs "   value= "0 "   />
        <!--脚本命令设置:是否调用URL-->
        <param   name= "baseURL "   value= " "   />
        <!--脚本命令设置:被调用的URL-->
        <param   name= "stretchToFit "   value= "0 "   />
        <!--是否按比例伸展-->
        <param   name= "volume "   value= "50 "   />
        <!--默认声音大小0%-100%,50则为50%-->
        <param   name= "mute "   value= "0 "   />
  &