|
using System;
namespace DateSite
{
/// <summary>
/// Master page of all pages in the web project.
/// </summary>
public partial class DateSiteMaster : System.Web.UI.MasterPage
{
/// <summary>
/// Page load code.
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
// disable page caching
Response.Expires = 0;
Response.Cache.SetNoStore();
Response.AppendHeader("Pragma", "no-cache");
}
/// <summary>
/// The dating id currently in use by the website.
/// </summary>
public string DatingId
{
get { return Session["datingId"] == null ? string.Empty : Session["datingId"] as string; }
set { Session["datingId"] = value; }
}
/// <summary>
/// Update debugging information to help visually display
/// the current state of what is going on.
/// </summary>
public void UpdateDebuggingPane()
{
uxDebuggingPane.Update();
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.