Excellent advise -- thank you both for taking the time to respond.
Best Regards,
Dakota
On Wed, Sep 23, 2009 at 4:11 PM, Rick Root wrote:
>
> If you're trying to dynamically generate code to put in a file, you
> can't do it that way.
>
> Do this instead:
>
>
>
>
>
>
>
>
>"c:\inetpub
What has not been said:
Often, these redirects are handled by the Domain Name Server, so that the
redirect happens before the request has even touched your server - in which
case you cannot log this (unless, and I am entirely ignorant here, the DNS
provider can log this).
The alternative is to h
I have not been able to find Howie to date and parts of the website is
non-functional. I can still use the product and all, but...
On Wed, Sep 23, 2009 at 5:02 PM, Rick Root wrote:
>
> Do you mean Coolfusion (makers of Infusion Mail Server)?
>
> http://www.coolfusion.com/
>
> Their web site is s
When you say do this in the app server, this mean the application.cfc?
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.co
If you're trying to dynamically generate code to put in a file, you
can't do it that way.
Do this instead:
#out#
Of course you won't see the output because it won't render ... but you
can write the contents of the "out" variable to a file or put it in a
DB or whatever.
ALTERNATIVELY
use associative array notation:
Azadi Saryev
Sabai-dee.com
http://www.sabai-dee.com/
On 24/09/2009 04:44, Dakota Burns wrote:
> I have the following code below (codeblock 01), which outputs the following
> three lines correctly:
> CFSET varMergeFile1 = "c:\inetpub\uploads\pdf\resume_1.pdf"
Do you mean Coolfusion (makers of Infusion Mail Server)?
http://www.coolfusion.com/
Their web site is still up.
On Tue, Sep 22, 2009 at 9:20 AM, Robert Forsyth wrote:
>
> Is Infusion still in business? I have a couple of their servers installed
> and want to add another one. There shopping
I have the following code below (codeblock 01), which outputs the following
three lines correctly:
CFSET varMergeFile1 = "c:\inetpub\uploads\pdf\resume_1.pdf"
CFSET varMergeFile2 = "c:\inetpub\uploads\pdf\resume_2.pdf"
CFSET varMergeFile3 = "c:\inetpub\uploads\pdf\resume_3.pdf"
[CODEBLOCK 0
> I did have another option using javascript though, but I didn't want to
> implement it because I don't know if search engines will
> penalize you to have this type of redirect done like this.
>
> Here is my code in index.cfm:
>
>
>
> if (document.URL=="www.abc.com" || document.URL=="www.xyz.
Thank you all for the replies so far, but this is getting more complicated that
I was expecting.
I did have another option using javascript though, but I didn't want to
implement it because I don't know if search engines will penalize you to have
this type of redirect done like this.
Here is
If what you need is not in the referrer you have two options.
1) Make whatever is doing the redirect also do the logging the fact that
someone came through redirect URL #17
2) Make whatever is doing the redirect add something into the URL that
can can use to report off of. (http://www.a.com red
Barney already gave the exact description of how to handle this, but since
it is painfully obvious that his instructions were not understood, I will
attempt to spell it out again.
1) Set up your web server (Apache/IIS/Resin/Whatever) to respond to requests
for each of the three domains in questio
If you're responding to Andy, he's 100% correct. Referer isn't just for
search engines, it's whatever page they were last on.
IF they were last on a page.
When you type in the URL, referer will be empty because there was no
referrer. Similarly, if you access the page from a bookmark, there wil
Actually kind of in-between. It's not just search engines... it's the page
that _linked_ to your current location. If someone types in the address,
there won't be a referrer... but they could have a referrer from some other
location other than a search engine.
This is from RFC 2616:
14.36 Refe
You don't believe me when I said that the referer is empty when the page loads
when users type in the url. I did another test, and still is empty.
David
~|
Want to reach the ColdFusion community with something they want? Let
REFERRER isn't just for search engines. It's whatever page they were last
on.
-Original Message-
From: David Torres [mailto:djt...@yahoo.com]
Sent: Wednesday, September 23, 2009 1:30 PM
To: cf-talk
Subject: Re: Getting URL from URL address bar!
Thank you guys for the prompt reply, but
Either cfdump the cgi object or try to clear the cache. That may help.
David
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffu
Thank you guys for the prompt reply, but either application server will do the
job, which I haven't tried yet, or my question has misleaded you.
I have tried to use CGI variables, but the SERVER_NAME and the HTTP_HOST they
both contain the www.finalsite.com when aither url is entered. I need t
301 is permanent, which tells people they can safely skip xyz.com and
go right to finalsite.com. I.e. that it's safe to never actually hit
xyz.com and just automatically do the rewrite without an HTTP request.
You don't want that if you want to track the traffic on xyz.com.
cheers,
barneyb
On
Hmm... should it be a 301?
-Original Message-
From: Barney Boisvert [mailto:bboisv...@gmail.com]
Sent: Wednesday, September 23, 2009 11:02 AM
To: cf-talk
Subject: Re: Getting URL from URL address bar!
Do it on the app sever. Accept requests for xyz.com and abc.com, log
the request, an
Check the cgi scope.
I recommend cgi.http_referer and cgi.server_name.
~Brad
Original Message
Subject: Getting URL from URL address bar!
From: David Torres
Date: Wed, September 23, 2009 12:54 pm
To: cf-talk
Hello,
My company needs to track when users type e
Do it on the app sever. Accept requests for xyz.com and abc.com, log
the request, and then redirect to finalsite.com. Just make sure you
do a 302 so search engines won't "correct" themselves.
cheers,
barneyb
On Wed, Sep 23, 2009 at 10:54 AM, David Torres wrote:
>
> Hello,
>
> My company needs
Hello,
My company needs to track when users type either one domain or the other to get
to the final page, for example a person types www.xyz.com or www.abc.com to be
redirected to www.finalsite.com.
I know how to do the redirect, but how can I capture the address they typed to
finally get to
It's less a CF issue, and more about a traffic and simultaneous
reads/writes. Make good use of WITH NOLOCK on database reads where you can.
It's not always a single record that is locking. Depending on how your
tables are indexed and a variety of other factors, a page (SQL page) could
be locked,
This is a locking problem in the database. Probably two different cfm
pages are attempting to edit the same database records at the same time.
Troubleshooting deadlocks in SQL Server is a big subject. I'd start
searching the SQL server Books online and go from there.
Steve
-Original Messa
Thanks Francois & Mark on the bracket info... I was not aware of that and yes,
it is working great.
Mark, to answer your question on the code, I have the in the hidden input.
> Hi,
> Thank you for taking a minute to look at my post...
>
> In the form output section below, I'm wondering how to
Hello,
This is less about getting a specific answer and more about just finding out
how to diagnose the problem. Client has an ColdFusion application in a
multi-server instance behind a hardware load balancer. The ColdFusion server
are on separate machines but talk to the same MS-SQL db.
Wit
Something bothers me about your code below...
#form.vendor_id5##form.nvc_id5#
Shouldn't there be a after the
Anyway, you could do the same thing like so...
#form['vendor_id' & x]##form['nvc_id' & x]#
Mark A. Kruger, CFG, MCSE
(402) 408-3733 ext 105
www.cfwebtools.com
www.coldfusion
You could always use bracket notation:
form["vendor_id#i#"], where i is the index of your iteration.
On 2009-09-23, at 11:05, patrick buch wrote:
>
> Hi,
> Thank you for taking a minute to look at my post...
>
> In the form output section below, I'm wondering how to dynamically
> add the numbe
Hi,
Thank you for taking a minute to look at my post...
In the form output section below, I'm wondering how to dynamically add the
number at the end of the id (form.vendor_id* & form.nvc_id*).
I should be able to loop and dynamically create the output section below
instead of hardcoding the nu
Why don't you just but your UDF's in your Application.cfc directly? Then
those functions are automatically available from anywhere within your
Application.cfc. Otherwise, I would put those functions within a utility
cfc, which you could place in an APPLICATION scoped variable inside your
onApp
On Tuesday 15 Sep 2009, Jacob wrote:
> Format C: - Reinstall apps - restore data from backup.
Although probably OK in this case, note that malware could be hiding in the
BIOS, Intel vPro etc. etc., especially if you have been target specifically.
--
Helping to efficiently establish market-driv
Thanks, Raj...I'll have a look at doing that.
I think the veil has been lifted from my eyes, however, regarding
what's happening with my code.
If you saw my last post, including the additional code that is actually
intercepting the form submission, it's clear that the ajax call isn't
actually ha
(My apologies to everyone on the list...when I started this thread,
I didn't know if this would be more of a CF or jQuery issue...turns
out, at least for now, it looks like the solution is client-side)
It looks like the code falls within that pattern...
Here's what I'm using:
$.ajax ({ cache:
Rick
"I think the exact problem area I the code above is the call to the function
"fnGetRentalProperties()", which goes out to another cfc method and constructs
HTML for display before all the data is finished processing. "
Have you tried invoking the fnGetRentalProperties() as a callback func
I need help in converting application.cfm to application.cfc. I have
few functions defined in my current application.cfm, out of which few
are called within application.cfm only.
One of the function I have in my application.cfm is like as below:
thanks, i'll work on it and get back to you
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.c
37 matches
Mail list logo