posted 20 years ago
I am trying to implement a simple Filter so that basically, all it does is check to see if the user is logged in and if not, redirects to the login page.
The problem I having is trying to figure out a clean way of enforcing this filter on secure pages but not on public pages like index, login, etc. My filter works, but right now, everything goes through the filter, thus, I get in crazy continuous loops when redirecting and forwarding.
I would like to know what other people have done in regards to this issue.
Thanks.