[Lispweb] How to do this simple php trick with araneida?

Jonathon McKitrick jcm at FreeBSD-uk.eu.org
Fri May 12 08:30:14 CDT 2006


On Tue, May 09, 2006 at 03:08:54PM -0500, Jeff Sapp wrote:
: I maybe wrong here, but I think it'll look something like this:
: 
: (defmethod handle-request-response ((handler login-handler) method request)
:    ... do your login stuff, but don't send any headers ...
:    (if (correct-loginp)
:        (progn
:            (request-send-headers request)
:            ... display files ... )
:        (request-redirect request (link (login-handler-url)))))

Instead of the (progn) block, would it be equivalent to call
(call-next-method) if login-handler is derived from static-file-handler?



Jonathon McKitrick
--
My other computer is your Windows box.



More information about the lispweb mailing list