使用实例:
private User u = new User();
private string urlPath = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{
#region 基础数据
u = new User();
u.UserName = "郑德才";
u.UserAge = "27";
u.UserSex = "男";
u.UserSite = "http://www.zhengdecai.com";
urlPath = Server.MapPath("~/file/");
#endregion
sessionInfo();
}
}
/// <summary>
/// Session测试
/// </summary>