• `customers have to enter email address and code to login to see job status. but even after hours, they can see the job status when they renew the same url address without entering the code again through the same browser. This becomes unsafe for customers who use other people’s computers or have to share their own computers with others. For example: If there is no activity on ticket status page for 15 minutes, the customer must enter the tracking code again. It is too impartant for security of customer data. There must be a session timeout and customers have to enter again the tracking code for security of their personel data. How can we do that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author JoomSky

    (@rabilal)

    Hi,

    This is upon WordPress settings.

    To overwrite it, check this link.

    https://stackoverflow.com/questions/9191359/how-to-change-session-expire-time-in-wordpress

    Thread Starter denemem

    (@denemem)

    I use the old version of JS Support Ticket (2.1.1 version) on one web site, and session expires in this version. But I’am testing updated version JS Help Desk in clone site, session not expire in new version.

    I don’t say this for registered wordpress user. This problem is on check status page, which page user must enter their email adress and ticket id.

    Hi,

    in plugins/js-support-ticket/modules/ticket/tpls/ticketdetail.php

    Add the following lines of code at the top of the file.

    <?php if(!is_user_logged_in()){ ?>
    <body onload=”set_interval()” onmousemove=”reset_interval()” onclick=”reset_interval()” onkeypress=”reset_interval()” onscroll=”reset_interval()”>
    <script type=”text/javascript”>
    var timer = 0;
    function set_interval() {
    timer = setInterval(“auto_logout()”, 900000);
    // the figure ‘900000’ above indicates how many milliseconds the timer be set to.
    }
    function reset_interval() {
    //resets the timer. The timer is reset on each of the below events:
    // 1. mousemove 2. mouseclick 3. key press 4. scroliing
    if (timer != 0) {
    clearInterval(timer);
    timer = 0;
    timer = setInterval(“auto_logout()”, 900000);
    }
    }
    function auto_logout() {
    window.location=”<?php echo jssupportticket::makeUrl(array(‘jstmod’=>’jssupportticket’, ‘jstlay’=>’controlpanel’)) ?>”;
    }

    </script>
    <?php } ?>

    Thread Starter denemem

    (@denemem)

    Thank you for your answer, I added the codes in ticketdetail.php. I enter my ticket id and email adress on ticket status check page. After 4 hours I refresh the page but session still active. I changed the ticket number in url and error message showed. I entered again my ticket url and can see my ticket status info, so there is no need to enter ticket id again. The codes not work for this problem.
    Can you help me please.

    Hi,

    Please open support ticket at jshelpdesk.com.

    Regards,
    Help Desk team

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Auto logout time’ is closed to new replies.