Depending on how you set up your dealers, a simple URL variable is all you need.... www.whatever.com/index.cfm?id=1234 Your dealers can set this up in their link to the main website. Do all of your checking of who the dealer is by the ID url variable.. You could even set a session variable based on a referer url as well. There are many ways to do it and without specifically knowing how your dealers are getting to the site, there is no set way of doing things...
Jeff ----- Original Message ----- From: <Troy Montour <[EMAIL PROTECTED]>> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Friday, January 04, 2002 10:27 AM Subject: cf frames question > Hello, > sorry haven't had enough coffee this morning yet so I can't think of > what to use to do this. > > I'm trying to detect frames which I figure javascript for that part > unless theres away with cold fusion but the problem is I need cold > fusion to know if there is frames and to set a global varible if there > is. > > give you my situation maybe someone can give me an easyier solution. > > we have a website that sells coins but also can have dealers that sell > coins and because of IE6 not excepting 3rd party cookies by default it > doesn't set the dealer var and defaults to main site which is bad cause > then the viewer is at the main site now and not the dealer site. > > so I figue if I can detect the frames then set a dealer var every page > instead of passing it to every link a person can click on. > > but problem I'm having is CF runs before javascript so I need to figure > out a way to detect the frames so I can set the dealer ID to know which > dealer this is. > > Thanks in advance > Troy Montour > > ______________________________________________________________________ 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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

