ASP.NET MVC4- 基类构造函数跳转页面
来源:互联网 发布:什么软件开发 编辑:程序博客网 时间:2024/06/06 03:59
public CoreController()
{
try
{
string user1 = this.HttpContext.Session["user1"].ToString().Trim();
}
catch (Exception e1)
{
// this.Redirect("../Login/index");
// Response.Redirect("Login/index");
//this.Redirect("login");
System.Web.HttpContext.Current.Response.Redirect("/Login/index");
}
}
{
try
{
string user1 = this.HttpContext.Session["user1"].ToString().Trim();
}
catch (Exception e1)
{
// this.Redirect("../Login/index");
// Response.Redirect("Login/index");
//this.Redirect("login");
System.Web.HttpContext.Current.Response.Redirect("/Login/index");
}
}
阅读全文
0 0
- ASP.NET MVC4- 基类构造函数跳转页面
- asp.net页面跳转
- ASP.NET页面跳转
- asp.net页面跳转
- asp.net 跳转页面
- asp.net 页面跳转
- ASP.NET 页面跳转
- [MVC4]初识ASP.NET MVC4
- asp.net mvc && asp.net 页面跳转
- asp.net----构造函数
- asp.net页面跳转方法!
- ASP.NET弹框后页面跳转
- ASP.NET页面的跳转
- Asp.net(C#)页面跳转
- asp.net 页面跳转问题
- ASP.NET后台页面跳转
- ASP.NET-MVC4--Layout母版页面传入数据Model模型
- Asp.Net Mvc4分页,扩展HtmlHelper类
- C++ string类实现
- Android GPS基础
- Facebook背后的人工智能
- python---字符串、列表、元组
- conversion to dalvik format failed with error 1
- ASP.NET MVC4- 基类构造函数跳转页面
- Android Map申请key
- Android Map demo
- string.IsNullOrEmpty and string.IsNullOrWhiteSpace
- onNewIntent调用时机
- emulator: ERROR: the user data image is used by another emulator. aborting
- Codeforces 727B Bill Total Value(附带ac代码)
- VA01销售订单增强MV45AFZZ注意点
- 消息转发:场景,调用,原理