<script type="text/javascript" language="javascript">
fn_JSGetSession();
function fn_JSGetSession()
{
//先判断其是否存在
//if((<%=Session["UserID"] %>+"")=="")
if(String(<%=Session["UserID"] %>)=="")
{
alert("不存在该Session值");
return;
}
else
{
//弹出其值
alert(<%=Session["UserID"] %>);
}
}
</script>
相关文章:
-
2021-11-19
-
2022-12-23
-
2022-12-23
-
2022-12-23
-
2021-11-06
-
2022-12-23
-
2021-10-09
-
2022-12-23
猜你喜欢
-
2021-07-27
-
2022-12-23
-
2022-12-23
-
2022-03-01
-
2022-12-23
-
2022-01-06
-
2022-12-23
相关资源
-
下载
2021-06-06
-
下载
2023-03-19
-
下载
2023-01-09
-
下载
2021-06-06