01cookbook·Jun 13, 2026·7 min readGlideAjax done rightThe client script needs server data and there are three ways to get it, two of them wrong. The complete client-callable pair, the security angle nobody teaches, and when g_scratchpad is the better answer.