Home Icon/link action
Design and Skin Customization
If it is not working 100% of the time, then double check your quota config - my guess is you've overlooked a quota that needs to have it's login redirect set.
Also - it's important to know that if a user tries to load a page that REQUIRES a login, and they are REDIRECTED to the login, after they log in they are redirected back to where they wanted to originally go.
If you want to test for logged in/logged out state in a template do this:
{if jrUser_is_logged_in()}
.. HTML that logged in users will see ..
{else}
.. HTML logged OUT users will see ..
{/if}
Let me know if that helps.