直接打地址还是能直接进去。高手帮帮我。。谢谢
解决方案 »
- ms sqlserver里BIT属性的字段通常能放哪些内容?0?1?true?false?
- 大哥们帮忙看下这个论坛用的什么程序!!
- asp.net如何将分布在多个页面中的数据一起保存?
- 如何在发帖时禁止右键粘贴图片??在线等,急急急!
- Image.Attributes.add("onclick",XX)
- 如何操作datatable
- 向高手求救!!!怎样在ASP.NET中实现数据从EXCEL导入到SQL数据库中???急!急!急!在线等!!!
- 高手请进来救命!!! 换iframe的问题
- 将vb转成c#的代码,100分
- 不好意思,提一个IE被恶意破坏的问题,请进....
- 有关SqlServer的问题
- 一个页面中多个过程要使用到的变量应该在哪声明?
Session.Abandon()
{
if(Session.Count==0) Page.Response.Redirect("WebForm1.aspx");
else
if(Session["uname"].ToString()=="") Page.Response.Redirect("WebForm1.aspx");
error.Text="用户: "+Session["uname"].ToString()+" 欢迎您的到来";
string fbbs="server=(local);database=bbs;uid=sa;pwd=imwftc";
cn=new SqlConnection(fbbs);
if(!IsPostBack) BindGrid();
}
Session.Abandon();
Page.Response.Redirect("WebForm1.aspx");
没用!!怎么搞的啊!》。救命
Session.Remove("uname")
这个肯定可以
Session.RemoveAt("uname");
Session.RemoveAll();
Session.RemoveAt(uid);
Page.Response.Redirect("WebForm1.aspx");
Session.Remove("uname");
Session.Remove("uid");
Session.Clear();
都不行!!!哭死了