w() / 1000);  // Get current timestamp in seconds
                        var timeout = warningTime - currentTime; // how many seconds until warning needs to show

                        setTimeout(() => {
                            $('#sessionTimeoutModal').modal('show');
                        }, Math.min(timeout, 2147483) * 1000); // Do not allow a buffer overflow here

                    }
                    session_notifcation();
                    $('#sessionTimeoutModal').on('show.bs.modal', fu