actually, this would work....
<cfif NOT IsDefined('session.client_id')> <script language=javascript> function pupUpb() blah blah blah; </script> </cfif> it runs the script right in there :) -----Original Message----- From: Kodjo Ackah [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 12:18 PM To: CF-Talk Subject: Cflocation and a popup Can I do this? <cfif NOT IsDefined('session.client_id')> <cflocation url="javascript:popUpb('home_login.cfm')"> <cfabort> </cfif> 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 ______________________________________________________________________ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.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