if you use javascript IN the email itself, your typical end-user will probably either get a 'warning' about unsafe content or nothing at all, instead of the intended effect.
brendan avery 2.0 - [EMAIL PROTECTED] 310.779.2211 - santa monica, california > -----Original Message----- > From: Andrew Scott [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, January 16, 2002 20:33 > To: CF-Talk > Subject: RE: Web bugs, cookies and redirects... > > > Instead of using the cfheader why not use Javscript to relocate the > window itself. I haven't got code here but if you go to > www.sitexperts.com there will be many JS solutions in here. > > > -----Original Message----- > From: Martin P. Cadirola [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 17 January 2002 3:16 PM > To: CF-Talk > Subject: Web bugs, cookies and redirects... > > Hi there, > > I'm working on an app that uses a "web bug" (basically an > <img> tag that > calls another site; that site serves an image). > > I'd need to redirect a visitor -after- the web bug has been served. > Since cookies are involved -as you may guess-, I don't use > <cflocation> > but simply: > > <CFHEADER NAME="Refresh" VALUE="0; URL='http://www.somebody.gov'"> > > Now, this works great but I can certainly notice a big delay when this > happens. Is there any way to speed up this redirection? > > I have also seen that one could do: > > <CFHEADER STATUSCODE="302" STATUSTEXT="Object Temporarily Moved"> > <CFHEADER NAME="location" VALUE="#someURL#"> > > .which works great speedwise, but apparently the web bug is not served > :>( > > Any comments, tips, ideas? > > Thanks in advance, > > Martin > > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation · $99/Month · Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb 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