Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.
I can see a function in the service program named setCookie but there is no setCookie in the documentation file that came with xTools. Is there documentation on how to use setCookie?
Here's some RPG IV from the NOVA CMS system which I wrote to support his website:
D expDate S Z Inz // Create a cookie with a timeout expDate = %timeStamp() + %Days(10); // Expire in 10 days. setCookie('USERID' : 'BOB' : expDate : '/;'); // Create a Session Cookie, pass *OMIT for the expdate. setCookie('PWD' : 'ROSEBUD' : *OMIT : '/;');
I prefer function
eatCookie(chocolate chip);
instead...
Thanks Bob. Gave me what I needed. Could you add the eatCookie() function? And maybe a buyCookie, bakeCookie, or stealCookie at the same time?
Okay, okay... how about this secret family recipe: