<abu[7]>
Hi viaken! You can use internal or transient symbols
<abu[7]>
(cookie "myKey" (someValue))
<abu[7]>
You retrieve it like (cdr (assoc "myKey *Cookies))
<abu[7]>
With an internal (cookie 'myKey (someValue))
<abu[7]>
you can (get 'myKey *Cookies)
<abu[7]>
sorry! I mean (get *Cookies 'myKey) of course
<abu[7]>
(someValue) may be a number, a transient, internal or external (DB) symbol, or a list of such atoms
<abu[7]>
You can pass optional args to (cookie ...) for expires, domain, secure and HttpOnly (I forgot what that means)
rob_w has joined #picolisp
theruran has quit [Quit: Connection closed for inactivity]
beneroth has joined #picolisp
cpli has quit [Remote host closed the connection]
casaca has quit [Remote host closed the connection]
payphone has quit [Remote host closed the connection]
payphone has joined #picolisp
cpli has joined #picolisp
casaca has joined #picolisp
rob_w has quit [Remote host closed the connection]
rob_w has joined #picolisp
<viaken>
Hi abu! After looking at it some more, I think my issue was that I was trying to put it in the Prg of a +Button. I believe I'll need to use onclick if I want to set it in response to a button click.
<abu[7]>
No, the prg of a +Button is good. You can put in anywhere in a 'http' response.
<abu[7]>
What was the error message?
<abu[7]>
BTW, a +Button has an "exe", not a "prg" ;)