I've tried a million variations listed by everyone here, and I still cannot get mine to function.
I can get the login form to work, but it shows up EVERY time even when the user is logged in and of course has a cookie set.
So what needs to be done to get it to not show the form and detect the users login correctly so it won't show the form?
Otherwise the login form itself works excellent, it just prompts to login every time which isn't really desired..
Thanks guys.