chore: 首次簽入 Thinkyu ASP.NET 專案

- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
This commit is contained in:
2026-09-10 09:42:37 +08:00
commit 577060bc78
2496 changed files with 501389 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
using System;
using System.Web.UI;
namespace .Forms
{
public partial class RoleManage : PageBase
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
// 檢查是否為系統管理員
if (Session[PublicVariable.IsSystemManager] == null ||
!(bool)Session[PublicVariable.IsSystemManager])
{
Response.Redirect("~/Forms/Home.aspx");
return;
}
}
}
}
}