Page 1 of 1
web.lsp 0.3
Posted: Thu Aug 13, 2009 4:54 pm
by Jeff
Fixed (hopefully) a query parsing bug, made the query parser more tolerant, and added a parameter to cookie to limit cookies to secure (https) sessions.
Download:
http://static.artfulcode.net/newlisp/web.lsp
Posted: Thu Aug 13, 2009 7:59 pm
by newdep
Tight coding jeff! nice work..
Posted: Fri Aug 14, 2009 6:01 pm
by m35
Hey Jeff, very nice, but should this be
set?
Code: Select all
(dolist (idx '($0 $1 $2 $3 $4 $5 $6 $7 $8 $9))
(setf idx nil))
; ^ set?
Posted: Fri Aug 14, 2009 6:07 pm
by Jeff
Why? In that instance, they are identical.
Posted: Fri Aug 14, 2009 7:04 pm
by Lutz
m35 has a point ;-)
Code: Select all
> (dolist (idx '($0 $1 $2 $3)) (setf idx 123))
123
> $0
nil
> $1
nil
> (dolist (idx '($0 $1 $2 $3)) (set idx 123))
123
> $0
123
> $1
123
>
Posted: Fri Aug 14, 2009 7:21 pm
by Jeff
I stand corrected. I'll upload a fixed version momentarily.
Posted: Sat Aug 15, 2009 9:09 am
by cormullion
It's working fine, thanks Jeff. I'm testing it out at
http://unbalanced-parentheses.nfshost.c ... ator/index - so far no problems (from your code - plenty from mine... :)