Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Explanation Needed for JSConnect

Hi,
I have JSConnect working and when it works it's awesome! Thank you!

But every now and then, we get an error: "Whoops! Timestamp is invalid".

I've found where the error comes from: Lines 48-49 in this file https://github.com/vanilla/jsConnectPHP/blob/master/functions.jsconnect.php

But I don't know they why is it caused? And what can I do to prevent it for my clients (if anything)?

Thank you in advance!

Sincerely,
Chris Martinez

Comments

  • Either your users are timing out or there is a problem with your timestamp. I guess you should dig to see clearer what is happening when this error is produced.

    Timeout code is near the top of that file.
    define('JS_TIMEOUT', 24 * 60);

  • Thanks!!

Sign In or Register to comment.