System.Web.HttpContext.Current.Response.Redirect("login.aspx")--》 ((Page)System.Web.HttpContext.Current.Handler).RegisterStartupScript("js","<script language=javascript>window.location.href='login.aspx';</script>");
解决方案 »
- 绿色版本IE6在与IE8并存下,文本框不能输入,右击不能用
- 咨询:一个500人同时在线的论坛,需要怎么样的服务器?
- GridView中数据的排序问题
- asp.net TreeView选择节点添加到GridView
- [高分网页聊天] 类似阿里旺旺.校内通的网页聊天是怎么实现的?
- theForm.EVENTTARGET为空或不是对象
- 文件下载问题
- 懂javasript的朋友进来看看,这个问题不能解决
- JSON转换问题
- 求一个简单的正则表达式!!!
- 这个目录是做什么的C:\Documents and Settings\[your computer name]\ASPNET\Local Settings\Temp\
- Session使用的问题!急
行的,你的意思是指Session_Start吧
能不能这样写
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
Response.Write("<script language=javascript>windwow.open('login.aspx');</script>")
end sub
Sub Session_End(ByVal sender As Object, ByVal e As EventArgs)
Response.Write("<script language=javascript >windwow.open('login.aspx',_top'); </script>")
end sub
if (window != top)
top.location.href = window.location.href
</script>