Files
thinkyu/branches/1150807/MobileSurvey/Complete.aspx.cs
T
sryang 577060bc78 chore: 首次簽入 Thinkyu ASP.NET 專案
- 加入 Visual Studio / ASP.NET .gitignore
- 排除建置輸出、IDE 設定、NuGet packages、大型 MSI 安裝檔
2026-09-10 09:42:37 +08:00

30 lines
690 B
C#

using System;
using System.Web.Security;
using WebLib;
namespace Education.MobileSurvey
{
public partial class Complete : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session[PublicVariable.UserId] == null || string.IsNullOrEmpty(Session[PublicVariable.UserId].ToString()))
{
Response.Redirect("Login.aspx");
}
}
protected void btnBack_Click(object sender, EventArgs e)
{
Response.Redirect("SurveyList.aspx");
}
protected void btnLogout_Click(object sender, EventArgs e)
{
Session.Clear();
FormsAuthentication.SignOut();
Response.Redirect("Login.aspx");
}
}
}