That's the way I do it, but I would put it in FBX_Settings. FBX_Switch is really only supposed to handle a fuseaction, and others are more likely to look for the code in FBX_Settings.
Patrick > -----Original Message----- > From: Calvin Lim [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 24, 2002 8:10 PM > To: [EMAIL PROTECTED] > Subject: RE: login page > > > Good idea. Thanks. And I meant to put it in fbx_Switch, not > fbx_Settings. > Something like this: > > <CFIF NOT(Session.IsLoggedIn)> > <CFLOCATION URL="#self#?fuseaction=admincircuit.login"> > </CFIF> > > <CFSWITCH expression = "#fusebox.fuseaction#"> > etc. > > Also, I'd like to know if there is a more conventional way of > securing an > entire circuit if this isn't a proper way to do it. > > Calvin > > ==^================================================================ This email was sent to: [email protected] EASY UNSUBSCRIBE click here: http://topica.com/u/?bUrFMa.bV0Kx9 Or send an email to: [EMAIL PROTECTED] T O P I C A -- Register now to manage your mail! http://www.topica.com/partner/tag02/register ==^================================================================
