Development/JSP & Servlet
jsp - session 타임아웃 시 페이지 이동
linuxism
2012. 8. 21. 16:19
<script>
function expireSession()
{
window.location = "index.jsp";
}
setTimeout('expireSession()', <%= request.getSession().getMaxInactiveInterval() * 1000 %>);
</script>