-
Notifications
You must be signed in to change notification settings - Fork 734
Expand file tree
/
Copy pathSite.Master.cs
More file actions
33 lines (31 loc) · 851 Bytes
/
Site.Master.cs
File metadata and controls
33 lines (31 loc) · 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace OWASP.WebGoat.NET.resources.Master_Pages
{
public partial class Site : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session["showSplash"] == null)
{
Session["showSplash"] = false;
Response.Redirect("~/Default.aspx");
}
}
protected void lbtGenerateTestData_Click(object sender, EventArgs e)
{
Response.Redirect("~/RebuildDatabase.aspx");
}
public void GreyOutMenu()
{
foreach (RepeaterItem item in rptrMenu.Items)
{
//nothing
}
}
}
}