protected void Application_Start(Object sender, EventArgs e)
{
string CS="Provider=Microsoft.Jet.OLEDB.4.0;Data Source="+Server.MapPath("data/tczd.config")+";User ID=admin;";
this.Application.Add("myConnectionString",CS);
this.Application.Add("PicPath",Server.MapPath("/admin/NewsImage"));
this.Application.Add("flashPath",Server.MapPath("/fla"));
this.Application.Add("Pic",Server.MapPath("/admin/pic"));
}
protected void Session_Start(Object sender, EventArgs e)
{
this.Session.Add("admin","0");
this.Session.Add("userid","");
this.Session.Add("myindex","");
this.Session.Add("myflag","");
this.Session.Add("username","");
}