if( Session["id"] == null )
解决方案 »
- 数据源控件与代码比较
- 请各位高手指点,在NET中插件是如何在客户端自动部署的,包括自动下载和安全性自动设置的
- .net+ajax如何实现局部刷新
- VB.NET的模式运行问题
- 通过服务器A的aspx程序调用服务器B的WebService将文件由A传送到B,可以做出传送进度条吗?
- 问一个问题,各位老大帮帮忙,IsInRole() 怎么老是false!!!在线等!
- Castle的一个问题
- iis与development server的路径问题(急!困扰一个星期了)
- frame蔡鸟问题
- 各位高手:请问如何通过连接数据库生成非实时目录树菜单,就象本论坛的形式!急,急!
- 用C#把数据导入Excel后,发现原来的数据格式变了!
- email程序错,请大家看看。
id=session("id")
fl=session("fl_sf")
application.Lock
if fl="1" or fl="2" then
dim i,newstr,xx
newstr=""
if fl="1" then
xx=split(application("online_user_danwei"),"#")
elseif session("fl_sf")="2" then
xx=split(application("online_user_geren"),"#")
end if
num=ubound(xx)
for i=0 to num if cstr(id)<>cstr(trim(xx(i))) then
newstr=newstr&xx(i)
if i<>num and num<>1 then
newstr=newstr&"#"
end if
end if
next
if fl="1" then
application("online_user_danwei")=newstr
elseif fl="2" then
application("online_user_geren")=newstr
end if
end ifif( Session["id"] == null ) 她是不应该执行for的!!