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

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


I'm still fighting with authentication.  :-(  But I'm determined to get your
example to apply to my code.  I'm doing the simplest possible method: the
:post method sets *my-authorization* to true, and according to the code and
the headers, is redirecting to secure2/home.html.  But I keep ending up back
at the login page, with fields cleared.  Do you happen to see why?

(defmethod handle-request-authentication ((handler protected-handler2) method
request)
  (format t "Local h-r-authentication~%")
  (if *my-authorization*
     (format t "Local h-r-authentication PASS!~%")
     (request-redirect request (parse-urlstring "http://nessus:8000/login2/login1.html"))
	        ))

(defmethod handle-request-response ((handler protected-handler2) method request)
  (format t "Local h-r-response~%")
  (call-next-method)
    t)


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



More information about the lispweb mailing list