Sandy,
That wouldn't work since this needs to load every page after the first
or it gets reset to the default dealer which is the main site.
so I need away to pull the frame url out so I can parse the url and set it
for CF to use.
Thanks though
Troy
----- Original Message -----
From: <Sandy Clark <[EMAIL PROTECTED]>>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Friday, January 04, 2002 9:56 AM
Subject: RE: cf frames question
> I would do something like this.
>
> Have a form with a hidden field that defaults a form variable
(framesEnabled
> = false)
> Use Javascript to set framesEnabled = true if (self != top)
> Submit the form using Javascript and voila, form.framesenabled will let
you
> know.
>
> This is of course assuming that the user has Javascript turned on.
>
>
>
> -----Original Message-----
> From: Troy Montour <[EMAIL PROTECTED]> [mailto:Troy Montour
> <[EMAIL PROTECTED]>]
> Sent: Friday, January 04, 2002 10:27 AM
> To: CF-Talk
> 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
>
>
>
______________________________________________________________________
Why Share?
Dedicated Win 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=coldfusionc
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