This info should in the CGI scope.
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540. It contains information which is
confidential and may also be privileged.
Neil: The CGI Scope would reveal the ip address that the request came
through, not the base ip of the server.
Paul: You say not look it up in the operating system tools does that
mean that using cfexecute to call ipconfig.exe is out?
Terrence Ryan
Senior Systems Programmer
Wharton Computing
Ah, yes. Well then you have cfexecute to get it on Windows or Java on all
platforms. Both of which should give you the result you need.
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in
Thanks Denny for your suggestions.
I have found that there is no default way to use HTML tags in this component.
You can see a forum entry about this opportunity via following link.
http://www.aspose.com/Community/forums/thread/41188.aspx
The only way to have such objects in PPT file is
cfscript
function GetServerIP() {
var iaclass=;
var addr=;
// Init class
iaclass=CreateObject(java, java.net.InetAddress);
//Get Local host variable
addr=iaclass.getLocalHost();
// Return ip address
return addr.getHostAddress();
}
/cfscript
john.
On 8/18/06, Ryan, Terrence
On Thursday 17 August 2006 13:25, Chad McCue wrote:
Does anyone currently use a windows based software program that tracks
the life a project and can also handle daily time sheets for employees
so an administrator can track what each employee does all day.
Leaving aside the fact that a manager
If a server has multiple IP's then each of them are valid for the server.
If you want ALL the IP's then you could run IPCONFIG/ALL from cfexecute
and parse the results to find the specific IP you want.
Snake
-Original Message-
From: Ryan, Terrence [mailto:[EMAIL PROTECTED]
Sent: 18
Hi,
Every now and then Verity produces the following error
There was a problem executing the CFSearch tag with the following
collections
When it does this Verity also seems to generate an awful, awful lot of
data in the following directory
C:\CFusionMX7\verity\Data\host\diag
Unitil i find
At 07:30 AM 8/18/2006, you wrote:
I think with a query of queries, you can do a left outer join using *=
syntax:
SELECT
*
FROM
table1,
table2
WHERE
table1.id *= table2.fkey
I AM NOT SURE OF THIS. But I think I read it somewhere.
Thanks for the input. I tried
Here is the situation:
cf server1 at location 1
cf server2 at location 2
ntwork file folder at location 2
Initially the whole application was on server1 and file manipulations were
taking forever.
So I decided to move part of the application that uses that network folder to
location 2 onto
Does anyone know if there is a Verity API that I could use to grab the
contents of a PDF or an Excel document or something. I know this topic has
been covered a billion times, but I have never heard anyone mention a Verity
API. So, it probably doesn't exist, but I thought I would ask any how.
I
Got a scenario I'm currently investigating. Our test and production
machines are crapping out on a daily basis. It appears that something
ColdFusion is doing is bringing down the IIS application pool. Oddly,
the identically-configured development server is unaffected.
What would cause that to
There is indeed an API with the full Verity K2 product, but I don't
know if it's exposed within CF. This is another of the reasons I went
with Oracle Text instead.
On 8/18/06, Ben Nadel [EMAIL PROTECTED] wrote:
Does anyone know if there is a Verity API that I could use to grab the
contents of a
I was going to suggest a union, so that link you found is the way to go IMO.
On 8/18/06, Roberto Perez [EMAIL PROTECTED] wrote:
I found a link to a fake left outer join script at
http://instantbadger.blogspot.com/2006/07/faking-left-outer-join-in-query-of.html
A left outer join sound just
Thanks James, I figured as much, but I thought I would ask anyway.
...
Ben Nadel
www.bennadel.com
-Original Message-
From: James Holmes [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 8:37 AM
To: CF-Talk
Subject: Re: Verity API ??
There is indeed an API
Yes, I do NOT want to use CFExecute ...
But somehow get that information.
Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com
SiteDirector Shopping Cart Software
- Original Message -
From: Ryan, Terrence [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent:
What are you trying to do? Do you , for some reason, need the primary ip of
the server instead of the ip that the website is hosted on? Usually it
doesn't matter which IP you use to get to the server, as they are all valid,
and can all be used to reach the server. Sometimes there might be
Hmm... we've had this happen to us under heavy load, and I believe we
narrowed it down to bad RAM. Then again it is an MS product we're talking
about, so it doesn't need a reason to crash...
Do you have any third party filters installed in IIS? If a filter is buggy
and crashes, I believe it
Roberto,
I would suggest a similar series of steps but the link gives a rather
complex example since they are trying to write a generic version that works
out foir itself waht the queries are. If you do it yourself it may be easier
to understand, and it may be possible to make it perform better.
Primary IP of the server, I am trying getting info back from different
servers and I want to know which server I am getting what information back
from. I cannot pass a variable that I create, so I am trying to find
something that is unique and the servers primary IP is what I have come up
A.
If it is a Windows host, this will work:
cfregistry
branch=HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName
\ActiveComputerName action=get type=string entry=ComputerName
variable=serverName
Assuming you have access to cfregistry.
Terrence Ryan
Senior Systems Programmer
Example, You are hosting a website at hostmysite.com and another over at
crystaltech.com and yet another at some other server farm.
I want to find out what machine the information is coming from, but not by
website address because there may be 2-3 different sites on each of the
servers and I
I'm guessing you're using NLB and the servers are sharing the ip? Do you
have unique instance names for your CF instances? In that case you can do
something like this:
cfobject action=create type=java class=jrunx.kernel.JRun name=jr
cfset servername = jr.getServerName()
Okay, my cfregistry thing probably won't work in that case.
This may be low-tech and missing the point, but if you have access to
the code in all places, couldn't you just set a static file with the
name of the host, that you could query on each one.
Terrence Ryan
Senior Systems Programmer
No, I do not have access to the code in all places .. the code is calling
back to me and I want to know what server it's on.
Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com
SiteDirector Shopping Cart Software
- Original Message -
From: Ryan, Terrence [EMAIL
I'm not getting it... Do you have the sites somehow load balanced between
the 3 servers, or do you have 3 separate sites at each of the NOCs? If it's
the same site, then how are you doing your loadbalancing?
Russ
-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Gert Franz wrote:
just change some text to something about 10 times larger and change
the 500 to maybe 5000 and then you'll find out how fast string buffer is
in comparison to CFMX strings...
Neat. I just did 2,000,000 string appends of a 26 character string,
resetting the string to
Is this some type of service you are wanting the machines to identify
where they
Are coming from for validation or something?
Say you have a CF application you sell and have it validate the license
or something
And you want to know where the request is coming from?
-Original Message-
I would help us to understand your app if you can give more information on how
the remote code is calling back to your site. Are they using some variety of
webservices?
Reed
No, I do not have access to the code in all places .. the code is calling
back to me and I want to know what server
It sounds to me like you have an application you're selling and you want
it to be able to call home to tell you where it's running. Is this what
you're up to?
Thanks,
Ken Ferguson
214.636.6126
-Original Message-
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
You can easily eliminate the evaluate() as a factor by replacing
cfset field = evaluate(resultSet.#ThisColumn#)
with
cfset field=resultSet[ThisColumn][resultSet.currentRow]
but it doesn't look like you're executing that line enough times to account for
the performance problem.
Reed
I have
Yes we are validating a license ... but we need to know for a particular
license the host server.
Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com
SiteDirector Shopping Cart Software
- Original Message -
From: Adkins, Randy [EMAIL PROTECTED]
To: CF-Talk
Simple webservice calling a CFC that is sending back and forth XML
Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com
SiteDirector Shopping Cart Software
- Original Message -
From: [EMAIL PROTECTED]
To: CF-Talk cf-talk@houseoffusion.com
Sent: Friday, August 18, 2006
I haven't been posting to CF-Talk much lately, but I thought this
might be of interest to the old school peeps out there...
Last night I dug up an old info packet from the Fort Collins
conference back in the day. I scanned some of the contents of the
packet and put them online, complete with
Thanks Davegreat infothat should definately be enough to go on ;-)
Cheers
Bryan Stevenson B.Comm.
VP Director of E-Commerce Development
Electric Edge Systems Group Inc.
phone: 250.480.0642
fax: 250.480.1264
cell: 250.920.8830
e-mail: [EMAIL PROTECTED]
web: www.electricedgesystems.com
I have 2 apps running on the same server, one of the apps is an admin center
for inputting data to be displayed from within the second app. What I want to
be able to do is track exactly who is logged on and where in the second app
they are and display this information from within my admin app.
One of many ways you could do this is by writing and reading the data from the
server scope.
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
-
| 1 | |
- Binary Soduko
| | |
-
C code. C code run. Run code run. Please!
-
I have 2 apps running on the same server, one of the apps is an admin
center for inputting data to be displayed from within the second app.
What I want to be able to do is track exactly who is logged on and
where in the second app they are and display this information from
within my admin
Got a scenario I'm currently investigating. Our test and
production machines are crapping out on a daily basis. It
appears that something ColdFusion is doing is bringing down
the IIS application pool. Oddly, the identically-configured
development server is unaffected.
What would cause
We had once problem with an ASP component (aspimage) which was used in CF
application and it was locking IIS. I mean a COM object would be also a
problem if you have any.
Oðuz Demirkapý
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Freitag, 18. August 2006 18:48
Hmmm...there is a distinct lack of named locks around some cffile calls
in a scheduled task. (Not my code.) A possible culprit?
The other difficulty here is that this was not happening until after
some access changes had been made to allow a directory to be accessed by
an anonymous web user for a
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
You can easily eliminate the evaluate() as a factor by replacing
cfset field = evaluate(resultSet.#ThisColumn#)
with
cfset field=resultSet[ThisColumn][resultSet.currentRow]
but it doesn't look like you're executing that line enough times to
scracth that, your method took 45 seconds, the evalute() method took 50
seconds. That was on a drop of about 2500 records.
Rick
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date
I've got a .mht (multipart html) that I generated from powerpoint. My end
result is to be able to fill in pieces of a powerpoint slide on the fly with CF
to generate the appropriate .mht file to a user. However, if I pass it to the
user as an .mht, it tries to open in the browser. I added a
I have compiled down a CFM template with cfcompile -deploy and I was told that
CFMX 6.1 servers could see it, but it doesn't seem to be working .. actually it
acts like it doesn't see the file at all!
Can a compiled CFMX 7 CFM template be read by a 6.1 server?
Paul Giesenhagen
QuillDesign
We recently installed the 7.0.2 updater and the only 7.0.2 hot fix. We
are starting to have issues with the CF administrator. Has anyone else
experienced any type of problems after installing anything 7.0.2
related?
Thanks.
Every IP on every server is unique. You cannot have the same IP on 2
servers, therefor ethe IP that your web site runs on is the server IP and is
unique.
Russ
-Original Message-
From: Paul Giesenhagen [mailto:[EMAIL PROTECTED]
Sent: 18 August 2006 14:29
To: CF-Talk
Subject: Re: OT:
That's not really true... If you use NLB, you will share the same IP between
2 servers. Hardware load balancing also might do something similar.
Russ
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 3:31 PM
To: CF-Talk
Subject: RE: OT:
Well yes and no. a single server can have more than one NIC Card
resulting in each having its
Own IP Address.
Example:
Windows 2003
NIC 1: 123.45.67.12
NIC 2: 123.45.67.85
Thus the NIC Card that is being utilized by the Request will be used.
-Original Message-
From:
scracth that, your method took 45 seconds, the evalute() method took 50
seconds.
The parania about evaluate is strictly a matter of philosophy.
The impact on performance is only marginal.
--
___
REUSE CODE! Use custom tags;
See
Yes but both servers in a NLB are essentially acting as the same server and
are a mirror of each other. In which case you would expect to get the same
IP from both.
-Original Message-
From: Russ [mailto:[EMAIL PROTECTED]
Sent: 18 August 2006 20:41
To: CF-Talk
Subject: RE: OT: Finding
I've got this line of code in a CSS file (default.css).
background: url(../_hdrs/header1.jpg);
I'd like to change it to have a random image generated using something like
this
background:
url(../_hdrs/headercfoutput#DayOfWeek(Now())#/cfoutput.jpg);
How can I do this with a CSS
That's true in an NLB setup. However a server with multiple NIC cards
would have separate IPs for each card.
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 4:10 PM
To: CF-Talk
Subject: RE: OT: Finding Server IP
Yes but both servers in a NLB are
Yes/No ... Yes if you go into your webserver and set .css files to be
processed by your cold fusion server .. but that means all of your style
sheets will be ran as CF templates at all times on the server.
Paul Giesenhagen
QuillDesign
417-885-1375
http://www.quilldesign.com
SiteDirector
Where is the no part?
-Original Message-
From: Adkins, Randy [mailto:[EMAIL PROTECTED]
Sent: 18 August 2006 20:41
To: CF-Talk
Subject: RE: OT: Finding Server IP
Well yes and no. a single server can have more than one NIC Card resulting
in each having its Own IP Address.
Example:
But both servers would also have a unique ip that is used for other things
(I believe). I think this is the ip he wants to get.
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 4:10 PM
To: CF-Talk
Subject: RE: OT: Finding Server IP
Yes but
So I had a bit of an adventure getting CF7 set up on my new Suse 10.1
box and I thought I'd share the problem and the fix. That way you
would know, and the searchengines could pick it up in the archives.
The first problem I had was with the installer:
It kept kicking back an error saying
Che,
You could always convert this to a CF file and just cfinclude it in your
header file where you call your style sheets in the first place. I do
this for a lot of my sites. I was just explaining how I do this in a
post a couple of weeks ago, here's what I was saying...
My CSS code is all in a
Just put that line in your CFM file.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday,
The true server can have multiple IPs. It is based on the NIC cards
installed and how they are configured.
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 4:12 PM
To: CF-Talk
Subject: RE: OT: Finding Server IP
Where is the no part?
I think I can write something like this...
background: url(../_hdrs/random.cfm);
Then, on random.cfm, can I do this?
cfoutputheader#DayOfWeek(Now())#.jpg/cfoutput
I've seen some PHP sites do it this way, but I can't seem to get it to work
quite yet.
~Che
-Original
try including just that css tag in the style tag within the head tag at
the top of the .cfm. Then you can probably cfparam in the random image.
Che Vilnonis wrote:
I've got this line of code in a CSS file (default.css).
background: url(../_hdrs/header1.jpg);
I'd like to change it to
And also means that you'd have to be careful about setting IDs in your
stylesheet because of the #.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original
Hi, i am read the post at
http://www.houseoffusion.com/groups/CF-Talk/thread.cfm/threadid:38056 and I
have the same problem right now.
I use cfmail specifying server params. I try with telnet to my email server and
nothing. I try to send an email to a server list account...
I specified the
You have to use cfcontent to have it output the image correctly.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 4:29 PM
To: CF-Talk
Subject: RE: Quick CF CSS question.
I think I can write something like this...
background:
I have a project which has multi domain for same content and I use something
like that.
I detect domain name and show required CSS file which includes different
logos, styles, colors etc. Of course I have defined all CSS files before and
I just select required CSS file depending on my detected
You need to use cfcontent in your cfm file, I believe.
Thanks,
Ken Ferguson
214.636.6126
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 3:29 PM
To: CF-Talk
Subject: RE: Quick CF CSS question.
I think I can write something like this...
Cfheader and cfcontent.
My bad.
Or you could just write some JS to do it client side.
-Original Message-
From: Che Vilnonis [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 4:29 PM
To: CF-Talk
Subject: RE: Quick CF CSS question.
I think I can write something like this...
Are there any differences/levels for IPs which are defined on a Windows
server?
For example in Linux when I define IP addresses for eth0, eth0:0, eth0:1,
I would say that eth0 IP is the main IP address for server. (In reality all
IP addresses refer to the server equally).
But are there any
First you need to see Connection Verification Successful. by activating
Verify mail server connection in CF admin mail settings.
If something wrong you get a msg like Connection Verification Failed!
Is that level already ok?
If not, there would be a connection issue because of a firewall etc.
Ray Champagne wrote:
I have a directory that is protected by a script that checks the
user's IP against the database in Application.cfm. If the user is
there, they are allowed in.
What happens when the user is not in there?
Jochem
I didn't say it couldn't. I said you cannot have the same IP on 2 servers.
-Original Message-
From: Adkins, Randy [mailto:[EMAIL PROTECTED]
Sent: 18 August 2006 21:24
To: CF-Talk
Subject: RE: OT: Finding Server IP
The true server can have multiple IPs. It is based on the NIC cards
Which still isn't true if you are using a hardware load balancer, or if they
are on different subnets.
How many people in the world do you think are running stuff on an internal
IP of 192.168.0.1?
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006
Cool, that give me a start. I'll check out AMFPHP
Thanks Kevin!
On 8/17/06, Kevin Aebig [EMAIL PROTECTED] wrote:
Oooo my bad. I assumed with the mention of Flex that this was Flash based.
Technically if you wanted too, you could use AMFPHP as a reference point to
creating a Coldfusion
But there doesn't have to be a separate NIC card for each IP, right?
(I've been running a Win 2000 Server for years, using IIS 5, but using
a single IP with Host Headers...)
Why can't multiple IP's point to the same server and let the server
sort out which site is for which IP?
IIS asks which
There is not a connection problem. I test Connection Verification option
suscesfully. The telnet to port 25 works fine too.
First you need to see Connection Verification Successful. by activating
Verify mail server connection in CF admin mail settings.
If something wrong you get a msg like
Than there would be a relay problem? If so, you can try to add CF server IP
address into mail server relay list.
Have you test sending a simple mail via CF server?
-Original Message-
From: Gabriel Bulfon [mailto:[EMAIL PROTECTED]
Sent: Freitag, 18. August 2006 23:40
To: CF-Talk
There is a default IP, and then under advanced settings you define
addiitonal IP's
An IPCONFIG will return the default IP.
-Original Message-
From: Oðuz_Demirkapý [mailto:[EMAIL PROTECTED]
Sent: 18 August 2006 21:54
To: CF-Talk
Subject: RE: OT: Finding Server IP
Are there any
Multiple nics with multiple IP's does not allow you to have the same IP on 2
different servers.
This still requires unique IP's
-Original Message-
From: Adkins, Randy [mailto:[EMAIL PROTECTED]
Sent: 18 August 2006 21:17
To: CF-Talk
Subject: RE: OT: Finding Server IP
That's true in an
U can assign many IP's to your nic. And each of them can then be assigned to
a site in IIS.
Any number of IP's can point at the same server.
Snake
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent: 18 August 2006 22:38
To: CF-Talk
Subject: RE: OT: Finding Server
192.168.0.1 is a local IP, it cannot be live on the internet, thus multiple
people can use these IP's
We are talking in general about stand alone alone servers live on the
internet, not load balancers, not clusters, not Network Address Translation
or local lans or different subnets. The original
Here is my IPConfig result.
Which one of following IP address is my default one? And why? :)
C:\ipconfig
Windows IP Configuration
Ethernet adapter 001:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 192.168.101.1
Subnet Mask . . . . . . . . .
The first one.
If you open up your TCP/IP properties, that should be the one listed.
You only see the others when you go into advanced.
In reality though there is no real DEFAULT IP on a server, the default is
whatever you choose it to be.
-Original Message-
From:
I don't think cfcontent or any tag for that matter knows if a user is logged
in. Regardless if the application.cfm you need to specifically wrap code
around cfdocument to ensure the person is logged in or whatever before you
run it.
As an example, you can run a cfinclude and it will bypass
Hi David,
As someone who uses CFMX on SuSE, I just wanted to drop you a line to
say Thanks for posting this. We've currently running CF on SuSE 9, but
when we upgrade I'll be sure to reference this post if we run into
similar difficulties.
Thank you for keeping the general public in mind and for
Below is the same list with real names. :)
I have 192.168.2.101 and 192.168.2.200 in physical layer network. First one
is via DHCP and second one is manually defined on another NIC for Apache.
The rest of IPs are from VMVare interfaces that I use to simulate different
platforms on same PC.
As
That's interesting because I live in ft collins and the only other cfm
developers I know here are the 2 guys that do coldfusion podcast.
I haven't been posting to CF-Talk much lately, but I thought this
might be of interest to the old school peeps out there...
Last night I dug up an old info
And for utilizing an SSL cert, I will have to have a dedicated
second *external* IP for that website on IIS, right?
Rick
-Original Message-
From: Snake [mailto:[EMAIL PROTECTED]
Sent: Friday, August 18, 2006 5:52 PM
To: CF-Talk
Subject: RE: OT: Finding Server IP
U can assign many IP's
Is anyone here running windows 2000 advanced server? I have a C:\WINNT folder
and a C:\WINDOWS folder and they both have the same sub-folders...Is this
normal?
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of
Doug Brown wrote:
Is anyone here running windows 2000 advanced server? I have a C:\WINNT folder
and a C:\WINDOWS folder and they both have the same sub-folders...Is this
normal?
Maybe it's a link?
Put a file into one folder and see if it appears in the other =)
Rick
I have family out there, and usually visit in the spring. Time for a CF get
together next April?
Sandra Clark
==
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility
CSS HANDS ON
New York City, October 10-13, 2006.
Yes/No.
If you want to have only 1 SSL on server than you can use current IP also
for SSL. But if you want to have more than 1 site which needs SSL on same
server, you need to have an IP for each of these sites.
-Original Message-
From: Rick Faircloth [mailto:[EMAIL PROTECTED]
Sent:
I have had the same experience. I have the Enterprise DevNet Edition
(multiserver installation) and used -deploy intending to send it to a
server with CFMX7 Standard installed. But when I tested moving the site I
found out the bad news.
Have a look in the compiled code for paths. The compiler
93 matches
Mail list logo