index.asp
[CODE]<script language="javascript">
function check()
{
var str=new Date()
t=str.getYear()
}
</script>
<%
response.Write"<script>check();</script>"
response.Write"<script>var s=t;</script>"
response.Write"<script>document.write('<form name=form1 method=post action=1234.asp><input type=hidden name=t1 value='+s+'></form>');</script>"
response.Write"<script>form1.submit();</script>"
%>[/CODE]
1234.asp
[CODE]<%
a=request.Form("t1")
b=a
response.Write b
%>[/CODE]
不可以直接调用,但可以转换个方式来应用!