Web page
Ideas:
<script src= "js.asp" in html.asp to display content, In the html.asp code, set a session, in js.asp to judge, if the value is set to display the normal content, if not, hide or display other content, at the end of the js.asp to change the session value, in html.asp and js.asp all add a code, make the browser not slow Save the page can only be simple to hide, the use of tool software can see the source file, sample code:
Html.asp Program code:
<%
Response.Expires = 0
Response.ExpiresAbsolute = Now ()-1
Response.AddHeader "Pragma", "No-cache"
Response.AddHeader "Cache-control", "private"
Response.CacheControl = "No-cache"
%>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312"
<title> View Code-WWW.51WINDOWS.NET</TITLE>
<style>
<!--
td {Font-family:tahoma; FONT-SIZE:8PT color: #000080; line-height:150%;
Border:1 solid #666666; Padding:4}
;
</style>
<body>
<%
Session ("Haiwa") = "HW"
%>
<div align= "center"
<center>
<table border= "0" cellpadding= "0" cellspacing= "0" width= "480"
<tr>
<td id= "tmp" ><script language= "JavaScript" src= "js.asp" id= "JS" ></SCRIPT> </td>
</tr>
</table>
</center>
</div>
</body>
Js.asp Program code:
<%
Response.Expires = 0
Response.ExpiresAbsolute = Now ()-1
Response.AddHeader "Pragma", "No-cache"
Response.AddHeader "Cache-control", "private"
Response.CacheControl = "No-cache"
If session ("Haiwa") <> "HW" Then
Response.Write "//Welcome to view Source file"
Response.End
End If
%>
High, you can see it all. I don't have a trick. Ha ha
document.write ("First think, think after doing, side want to do, just want to do, do not want to do, do not want to do." ------The world is almost all covered by these six kinds of people, if as individuals can clearly analyze and see what kind of people you belong to, at least prove yourself a smart person. ")
<%
Session ("Haiwa") = ""
%>