using System;
using System.Web;
using System.Web.UI;
using System.ComponentModel;
using TCOline.SystemFramework;
namespace TCOline.Web
{
/// <summary>
/// PageBase 的摘要说明。
/// </summary>
public class PageBase:System.Web.UI.Page
{
/// <value>
/// Property SecureUrlBase is used to get the prefix for URLs in the Secure directory.
/// </value>
public static String SecureUrlBase
{
get
{
if (pageSecureUrlBase == null )
{
pageSecureUrlBase = (TCOlineConfiguration.EnableSsl ? @"https://": @"http://") + urlSuffix;
}
return pageSecureUrlBase;
}
}
/// <value>
/// Property UrlBase is used to get the prefix for URLs.
/// </value>
public static String UrlBase
{
get
{
return pageUrlBase;
}
}
protected override void OnError(EventArgs e)
{
// ApplicationLog.WriteError(ApplicationLog.FormatException(Server.GetLastError(), UNHANDLED_EXCEPTION));
base.OnError(e);
}