ASP中请问怎么给连接加密!!

来源:百度知道 编辑:UC知道 时间:2024/05/24 00:41:46
ASP中请问怎么给连接加密!!

例如我的一个电影地址是:

http://www.aaa.com/movie/1/电影.wma

请问如何对它加密!实现在浏览器里面看不到真实的地址!!

try this:
#in user page

<script language="javascript">
function gomovie(gomovie)
{
url = "movie_watch.asp"
window.open(url,gomovie,"width=600,height=760,status=no,toolbar=no,menubar=no,scrollbars=yes,resizable=no,align=center");
}
end function
</script>

<a href="javasrcipt:gomovie" target="_blank">WATCH</a>

#in "movie_watch.asp" page:

$$$ if you have a database $$$

<!--#include file="conn.asp"-->
<%
set rs=server.creatobject("adodb.recordset")
sql="....."
rs.open sql,conn,1,3
if rs.bof or rs.eof then
response.write "Sorry,the movie which you selected is not found"
else
%>
<table><tr><td>............</td></tr></table>
<%
end if
rs.close
set rs=nothing<