Archive for November, 2011
Print Page Content by JavaScript
function PrintContent(ctrl) { //alert(ctrl); var DocumentContainer = ctrl; //alert(DocumentContainer); var WindowObject = window.open('', "TrackHistoryData", "width=420,height=225,top=250,left=345,toolbars=no,scrollbars=no,status=no,resizable=no"); //alert(ctrl); //alert(DocumentContainer); WindowObject.document.write(DocumentContainer.innerHTML); //alert(ctrl); WindowObject.document.close(); WindowObject.focus(); WindowObject.print(); WindowObject.close(); }
如何利用 IIS7 的 ARR 模組實做 Reverse Proxy 機制
Posted by allenkwc in Windows Server on November 8, 2011
轉自 http://blog.miniasp.com/post/2009/04/13/Using-ARR-to-implement-Reverse-Proxy.aspx
Web.sitemap Linking External Web Site with Security Trimming Enabled
If you enable security trimming and you have site-map nodes that correspond to external URLs, set the roles attribute on those nodes to an asterisk (*), which will enable all clients to view the link even though ASP.NET cannot authorize access to the external link.
That’s adding attribute roles=”*” in the sitemapnode element.