Source code

Revision control

Copy as Markdown

Other Tools

function handleRequest(request, response) {
if (request.queryString == "clearcounter") {
setState("counter", "");
} else if (!getState("counter")) {
response.setHeader("Content-Type", "application/javascript", false);
response.write("callByScript();");
setState("counter", "1");
} else {
response.write("no cache no party!");
}
}