asp值的传递 急

来源:百度知道 编辑:UC知道 时间:2024/06/11 09:21:15
在change.asp页面中,
当点击“功能”时,改变test_tmp的值,
然后在本页面用这个值做后边判断。
我写的如下,但aa接收不到值,请高手指教啊!

<a href="change.asp?test_tmp=true">功能</a>
<%
dim aa
aa = request("test_tmp")
if aa=true then
response.write "接受到了aa的值为:"&aa'输出打印接受的aa和bb值
else
response.write "没接受到值"
end if %>

<a href="change.asp?test_tmp=true">功能</a>
<%
dim aa
aa = request("test_tmp")
if aa="true" then
response.write "接受到了aa的值为:"&aa'输出打印接受的aa和bb值
else
response.write "没接受到值"
end if %>