Kodjo Ackah writes: > Can I do this? > > <cfif NOT IsDefined('session.client_id')> > <cflocation url="javascript:popUpb('home_login.cfm')"> > <cfabort> > </cfif> >
why not do: <cfif NOT isDefined('session.client_id')> <script> popUpb('home.login.cfm'); </script> </cfif> what advantage to you see of using <cflocation> to launch the function? charlie > > It doesn't work though! > > Don't worry - I have a function in my head tags within my top element > page. > > Kodjo ackah > Principal Consultant > concrete-media.com > > > > ______________________________________________________________________ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists