摘要:
在master page里面加入这么段JS:<script type="text/javascript"> _spBodyOnLoadFunctionNames.push("Logout"); function Logout() { setTimeout(function () { STSNavigate('/_layouts/SignOut.aspx'); }, 1000 * 60 * 10); }</script>但是这样存在一定的风险。因为如果用户是在浏览一个很长的文章或者是Video,很久没有跳转页面。仍然 阅读全文
摘要:
[http://blogs.msdn.com/b/kaevans/archive/2010/08/04/deploying-an-asp-net-httphandler-to-sharepoint-2010.aspx]Got a cool question in email today… how to deploy an HttpHandler to SharePoint 2010 that uses code-behind. The answer is that you don’t really use code-behind like you would in an ASP.NET app 阅读全文