문제

Bootstrap's session timeout plugin doesn't seem to support resetting the count towards session end, whenever the user moves the mouse. So, for instance, the default 15 mins warnAfter value will pop the message 15 mins afters login, regardless of user activity.

        $.sessionTimeout({
        logoutUrl:AppData.paths.appPath + "/logout",
        redirUrl:AppData.paths.appPath + "/logout",
        warnAfter:10000 
        // will trigger the popup after 10 secs regardless of user activity
     });

I haven't found any option that might tackle this issue. Is there way to overcome it?

도움이 되었습니까?

해결책

Checkout orange hill's fork which was created because of the same problem.

http://www.orangehilldev.com/?p=101

https://github.com/orangehill/bootstrap-session-timeout

다른 팁

Use the next property:

ignoreUserActivity: false
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top