随笔分类 -  .Net

几点Session使用的经验(转载)
摘要:问:当页面中是否了frameset,发现在每个frame中显示页面的SessionID在第一次请求时都不相同,为什么? 答:原因是你的frameset是放在一个htm页面上而不是ASPX页面。 在一般情况下,如果frameset是aspx页面,当你请求页面时,它首先将请求发送到Web服务器,此时已经获得了SessionID,接着浏览器会分别请求Frame中的其他页面,这样所有页面的SessionI... 阅读全文

posted @ 2010-07-15 10:18 Snowwolf 阅读(224) 评论(0) 推荐(0)

C# 操作 XML 的方法(zz)
摘要:XmlDocument 例子string filePath = HttpContext.Current.Server.MapPath("your.xml");XmlDocument xmlDoc = new XmlDocument();xmlDoc.Load(filePath);//取值string xp = xmlDoc.SelectSingleNode("newTab").ChildNodes... 阅读全文

posted @ 2010-03-05 17:03 Snowwolf 阅读(250) 评论(0) 推荐(0)

导航