fukamachi / caveman

Lightweight web application framework for Common Lisp.
http://8arrow.org/caveman/
775 stars 63 forks source link

Redirect? #77

Closed sabracrolleton closed 8 years ago

sabracrolleton commented 8 years ago

I can't seem to get redirect to work.

Base case, assume a login form passes the parameters to (defroute ("/validate-password" :method :POST) (&key _parsed)

The password gets validated and then the user should be redirected to "/".

If I just render index.html, the url showing at the top of the browser will still be "/validate-password".

What am I missing?

aarvid commented 8 years ago
(caveman2.helper:redirect "/")

or

(caveman2:redirect "/")
sabracrolleton commented 8 years ago

Wierd. Working Now. Did not work last week. Obviously something wrong with my configuration and not caveman.