Closed Sajith-vr closed 7 years ago
Please answer these questions. What is your plugin configuration? Which web browser do you use? Are you using a mobile device (tablet, phone) or a computer? Is your mouse cursor moving within a 'non-domain' i-frame when the session expires?
version 1.0.10, I used google crome browser in a computer(both linux and windows),
On Wed, May 3, 2017 at 2:32 PM, JillElaine notifications@github.com wrote:
Please answer these questions. What is your plugin configuration? Which web browser do you use? Are you using a mobile device (tablet, phone) or a computer? Is your mouse cursor moving within a 'non-domain' i-frame when the session expires?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JillElaine/jquery-idleTimeout/issues/45#issuecomment-298928777, or mute the thread https://github.com/notifications/unsubscribe-auth/AbCZ3I6uCJVDNpQnASBb97Ht5_4c1eGaks5r2JAVgaJpZM4NPYbU .
I have not heard of 'mousemove' not being detected as activity. I think perhaps there is a problem with the syntax of your 'document ready' script. Do you override the 'activityEvents' variable?
Two questions to answer:
$(document).ready(function () {
$(document).idleTimeout({
redirectUrl: '/logout' // redirect to this url. Set this value to YOUR site's logout page.
});
});
$(document).ready(function () { $(document).idleTimeout({ redirectUrl: '<?php echo base_url(); ?><?php echo $url;?>', // redirect to this url idleTimeLimit: 300, //300- 15 seconds activityEvents: 'click keypress scroll wheel mousewheel', // separate each event with a space dialogDisplayLimit: 30, // Time to display the warning dialog before logout (and optional callback) in seconds sessionKeepAliveTimer: false // Set to false to disable pings. }); });
On Thu, May 4, 2017 at 2:39 PM, JillElaine notifications@github.com wrote:
Two questions to answer:
- What is your 'document ready' function? Please copy and paste your entire 'document ready' function with "insert code" markup . This is your plugin configuration. See example below.
$(document).ready(function () { $(document).idleTimeout({ redirectUrl: '/logout' // redirect to this url. Set this value to YOUR site's logout page. }); });
- Do you have 'non domain' i-frames within your pages? If yes, mouse movements will NOT be detected within 'non domain' i-frames. For more i-frame information, see https://github.com/JillElaine/ jquery-idleTimeout/wiki/Iframes---Information-&-Troubleshooting https://github.com/JillElaine/jquery-idleTimeout/wiki/Iframes---Information-&-Troubleshooting
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JillElaine/jquery-idleTimeout/issues/45#issuecomment-299204927, or mute the thread https://github.com/notifications/unsubscribe-auth/AbCZ3JyfhNNh-coWwKVAxpwZzi50496Cks5r2eMNgaJpZM4NPYbU .
there is no iframes used in any of pages
On Fri, May 5, 2017 at 4:51 AM, Sajith V sajith.provab@gmail.com wrote:
$(document).ready(function () { $(document).idleTimeout({ redirectUrl: '<?php echo base_url(); ?><?php echo $url;?>', // redirect to this url idleTimeLimit: 300, //300- 15 seconds activityEvents: 'click keypress scroll wheel mousewheel', // separate each event with a space dialogDisplayLimit: 30, // Time to display the warning dialog before logout (and optional callback) in seconds sessionKeepAliveTimer: false // Set to false to disable pings. }); });
On Thu, May 4, 2017 at 2:39 PM, JillElaine notifications@github.com wrote:
Two questions to answer:
- What is your 'document ready' function? Please copy and paste your entire 'document ready' function with "insert code" markup . This is your plugin configuration. See example below.
$(document).ready(function () { $(document).idleTimeout({ redirectUrl: '/logout' // redirect to this url. Set this value to YOUR site's logout page. }); });
- Do you have 'non domain' i-frames within your pages? If yes, mouse movements will NOT be detected within 'non domain' i-frames. For more i-frame information, see https://github.com/JillElaine/ jquery-idleTimeout/wiki/Iframes---Information-&-Troubleshooting https://github.com/JillElaine/jquery-idleTimeout/wiki/Iframes---Information-&-Troubleshooting
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JillElaine/jquery-idleTimeout/issues/45#issuecomment-299204927, or mute the thread https://github.com/notifications/unsubscribe-auth/AbCZ3JyfhNNh-coWwKVAxpwZzi50496Cks5r2eMNgaJpZM4NPYbU .
Sajith-vr, your 'document ready' overrides the default 'activityEvents' variable and does NOT include 'mousemove'. If you want to detect mouse movement, you must include 'mousemove'...OR else do not override the default 'activityEvents' variable: it includes 'mousemove' by default.
Please read about the public configuration variables on this page. https://github.com/JillElaine/jquery-idleTimeout/wiki/Public-Configuration-Variables
Ok thank you
On Fri, May 5, 2017 at 5:38 AM, JillElaine notifications@github.com wrote:
Sajith-vr, your 'document ready' overrides the default 'activityEvents' variable and does NOT include 'mousemove'. If you want to detect mouse movement, you must include 'mousemove'...OR else do not override the default 'activityEvents' variable: it includes 'mousemove' by default.
Please read about the public configuration variables on this page. https://github.com/JillElaine/jquery-idleTimeout/wiki/ Public-Configuration-Variables
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/JillElaine/jquery-idleTimeout/issues/45#issuecomment-299383474, or mute the thread https://github.com/notifications/unsubscribe-auth/AbCZ3JymI2rmT9XRiy4wV8ZHDpecCxGWks5r2rXRgaJpZM4NPYbU .
I am facing an issue with session timeout when i am moving mouse