可是如何实现session保存?我现将原代码提供如下,另,我反复执行查询的时候,就会出现查询停滞,不再有新的查询内容显示,为什么?提供网址:
www.pomawin.com/web-2005 登录网上招聘,用户名:鱼师傅
密码:111,在求职人员查询中的综合查询中,请测试,并寄予指正!谢谢!
if request.Form("condition1")<>"" and request.Form("bachelor1")="" then
session("aa")=request.Form("sex")
session("ff")=request.Form("huji")
session("bb")=request("job")
session("dd")=request("edate")
if request.Form("nationality")="北京" then
sql="SELECT * FROM humanresource WHERE nationality='北京' and huji= '" + session("ff") + "' and sqgw Like '%" & session("bb") & "%' and sex= '" + session("aa") + "' and Birthday between #"&session("cc")&"# and #"&session("dd")&"# "
else sql="SELECT * FROM humanresource WHERE nationality <>'北京' and huji= '" + session("ff") + "' and sqgw Like '%" & session("bb") & "%' and sex= '" + session("aa") + "' and Birthday between #"&session("cc")&"# and #"&session("dd")&"# "
end if