[hunchentoot-devel] A simple way to handle logins?

Vamsee Kanakala vamlists at gmail.com
Wed Nov 22 23:06:19 UTC 2006


Hi,

Currently I'm using a simple method to handle logins in Hunchentoot -
set the user object when the user logs in, and check for it at the
beginning of a function whichever needs to have the credentials, or
redirect to login page.

However, most of my functions would require the login-check method to be
run before they display the page. I'm guessing there should be a way to
define a handler which takes all the requests, runs login function and
then sends the request to the appropriate handler. Perhaps I should read
the documentation more thoroughly, though I'd appreciate any tips which
would make it easier.

Thanks,
Vamsee.



More information about the Tbnl-devel mailing list