PageSourceSearch

https://www.post.at/Scripts/KeepSessionAlive.js

js post.at collected 2026-09-24 08:33:52 UTC 533 bytes, 22 lines download raw bytes

1let keepSessionAliveUrl = null;
2
3function SetupSessionUpdater(actionUrl, isAuthenticated) {    
4    if (isAuthenticated) {
5        keepSessionAliveUrl = actionUrl;
6        CheckToKeepSessionAlive();
7    }
8}
9
10function CheckToKeepSessionAlive() {
11    setTimeout("KeepSessionAlive()", 20 * 60000); //20 minutes
12}
13
14function KeepSessionAlive() {
15    if (keepSessionAliveUrl != null) {
16        $.ajax({
17            type: "GET",
18            url: keepSessionAliveUrl
19        });
20    }
21    CheckToKeepSessionAlive();
22}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.