在我的休眠申请中,我正在某页上使用支离破碎的 p。 我在座各位将这一错误带上<编码>。 是否有任何人看到我应该改变这种状况?
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<title>ManageEmployeeProfile</title>
<script>
function logout()
{
alert( You are about to be signed out due to Inactivity );
window.location = /Account/Logout ;
}
$(document).ready(function()
{
var SEC = 10;
var MIN = 6 * SEC;
// http://philpalmieri.com/2009/09/jquery-session-auto-timeout-with-prompt/
<% if(HttpContext.Current.User.Identity.IsAuthenticated) {%>
$(document).idleTimeout({
inactivity: 30 * MIN,
noconfirm : 30 * SEC,
redirect_url: javascript:logout() ,
sessionAlive: 0, // 30000, //10 Minutes
click_reset: true,
alive_url: ,
logout_url:
});
<%} %>
}
</script>