{"id":16428977,"url":"https://github.com/ocombe/jquery-keepalive","last_synced_at":"2025-03-23T07:33:40.001Z","repository":{"id":151132003,"uuid":"1379161","full_name":"ocombe/jQuery-keepAlive","owner":"ocombe","description":"A jQuery plugin to keep a php session alive","archived":false,"fork":false,"pushed_at":"2011-02-17T18:59:46.000Z","size":94,"stargazers_count":16,"open_issues_count":0,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-12T08:19:52.003Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ocombe.png","metadata":{"files":{"readme":"README.txt","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-17T17:49:15.000Z","updated_at":"2023-04-06T20:14:43.000Z","dependencies_parsed_at":"2023-04-05T09:55:22.250Z","dependency_job_id":null,"html_url":"https://github.com/ocombe/jQuery-keepAlive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocombe%2FjQuery-keepAlive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocombe%2FjQuery-keepAlive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocombe%2FjQuery-keepAlive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocombe%2FjQuery-keepAlive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocombe","download_url":"https://codeload.github.com/ocombe/jQuery-keepAlive/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221847114,"owners_count":16890970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T08:19:54.268Z","updated_at":"2024-10-28T15:13:48.882Z","avatar_url":"https://github.com/ocombe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"jQuery keepAlive plugin\nhttps://github.com/Aldri/jQuery-keepAlive\n\nCopyright 2011, Olivier Combe\nDual licensed under the MIT or GPL Version 2 licenses.\nhttp://jquery.org/license\n\nVersion 1.0 2011-02-17\n\n* Description :\nThis plugin does a simple ajax call to an url every x minutes (10 minutes by default).\nThe goal is to force the server to refresh the user's session timeout in order to keep it alive for as long as the user is on your web site.\n\n* Usage :\nAdd the js file (jquery.keepAlive.js or jquery.keepAlive.min.js) and the php file (keepAlive.php) in your folder.\nInclude the js file in your page and call the function :\n$.fn.keepAlive();\n\n* Options :\nYou can set the url of your php file :\n$.fn.keepAlive({url: 'somefolder/keepAlive.php'});\n\nYou can set the timer of the ajax calls :\n$.fn.keepAlive({timer: 5000}); // call every 5 seconds\n\nOr you can set both :\n$.fn.keepAlive({url: 'somefolder/keepAlive.php', timer: 5000}); // call every 5 seconds\n\nIf you want to stop the ajax calls for some reason just call :\n$.fn.keepAlive('stop');","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focombe%2Fjquery-keepalive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focombe%2Fjquery-keepalive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focombe%2Fjquery-keepalive/lists"}