> on 7/10/03 11:22 AM, Raymond Camden at [EMAIL PROTECTED] wrote: > > >> It was the fact that I was redirecting you to the login.cfm page > >> which sat in the same directory as every other page. So in other > >> words, my application.cfm was "protecting" my login.cfm > page as well, > >> and it was protecting it by redirecting anyone who wasn't > logged in > >> to my login.cfm page...which was protected...etc etc... > > > > heh, it's always the easiest thing, isn't it? I didn't even notice > > this because, normally, I just cfinclude login.cfm instead of > > redirecting. > > > > You know, I don't kinda "get" that. So, if your user isn't > logged in, and isn't posessing a cookie, and isn't passing a > form variable *to* log in, you just cfinclude a whole 'nother page? > > I guess I just need to "play" with that methodology, because > I don't quite get that...
No, that's not what I meant. My login logic isn't like yours. What I'm saying though, and where we both agree, is that at some point you need to present a login form. You can either cflocation to the form, which means you have to make sure application.cfm allows it, or you can just cfinclude it, which to me, is a bit simpler. So, you try to hit <xxx>/index.cfm, and you see the login form. Under your method, you would actually see <xxx>/login.cfm. Not a big deal, just a difference in how we do things. :) ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

