Thanks for the input, Tony and everyone...keep the ideas coming.
I'm about to start working out this issue today, so the more options
I have to choose from, the better!
Rick
-Original Message-
From: Tony Bentley [mailto:t...@tonybentley.com]
Sent: Monday, September 14, 2009 11:14 AM
When my cf application server goes down, I want a backup machine (warm backup I
guess) to take over. Should be a simple IP switch from one machien to another
if possible.
Can someone who have worked on failover scenarios suggest some options for me?
I do not want my application to die due to
Is it a Java buffered image? If so you can pass it to ImageNew(). Have
you tried that?
Thanks, i have actually tried it. i just discovered that the problem isn't
displaying the image. it is most likely that cf does not support the format of
the image in the byte array.
The byte array is
Have had really good luck with Coyote Point load balance hardware. Set up
2 (or more, we had 5) servers running the same apps and then the LB in
front to guide traffic. We used to use client vars (instead of session
vars) to manage user-to-app connections that were seamless even across
Go to the documentation for the fingerprint device, then, to determine what
the file format is. There are a number of formats that browsers can't
handle (not CF, but the browsers themselves), such as progressive JPEG and
CMYK JPEG. If it's one of those, then you may need a 3rd party
This is a pretty common issue with file upload and processing. I suggest using
either a Java or Flash based file uploader that offers a status for each file.
the asfusion one is a good example of how you can upload and process each
image. Once the image is uploaded and the script is run to
Go to the documentation for the fingerprint device, then, to determine
what the file format is. There are a number of formats that browsers
can't handle (not CF, but the browsers themselves), ...
Also, check the documentation for an example of converting the device output to
an image
I am de-constructing a very old and convoluted ColdFusion application.
*One*
-
I have a page with this url:
http://calpip-devsite/county.cfm
*Two*
-
On this page, through a mind boggling series of logic branches and
include files there is this bit of code for a form.
form action=
Have had really good luck with Coyote Point load balance hardware. Set up
2 (or more, we had 5) servers running the same apps and then the LB in
front to guide traffic. We used to use client vars (instead of session
vars) to manage user-to-app connections that were seamless even across
Hi,
I have a function that has loon worked just fine and recently stopped. It
hangs when it tries to access news.google.com using CFHTTP. Does anyone know
if something changed at google to cause this problem. My code to grab the fee
is as follows.
cfhttp
Well of course it would be done in an Application.cfm file.
I just never had to look that hard to find the appropriate
Application.cfm file before.
~|
Want to reach the ColdFusion community with something they want? Let them
I've got a problem on a production server that has been running since April.
The problem has been ongoing for the last 6 days or so and everything I've
tried doesn't seem to do anything to alleviate the problem.
The server is a Win2003R2 server running a fully patched CF8.01 install. Until
4
Go to the documentation for the fingerprint device, then, to determine what
the file format is. There are a number of formats that browsers can't
handle (not CF, but the browsers themselves), such as progressive JPEG and
CMYK JPEG. If it's one of those, then you may need a 3rd party
That path works fine for me, output with cfdump
var=#xmlParse(cfhttp.fileContent)# /
Looks like the same content entries I get if I just point my browser
directly to http://news.google.com/?q=hipposoutput=rss
Can your web server resolve the DNS for news.google.com?
You can configure your load-balancers to have sticky sessions, or route
traffic however you like. The only problem is price, and is it overkill for
this situation. Your IP change is the cheapest and simplest. It will also
have a period of downtime until you can get to the server to make the
Hi,
From time to time, I find in my error log errors due to undefined form
variables.
The reason being that the template was requested using method GET
instead of POST.
Of course, there are dumb bots that would GET any address they find in a
page,
but there are also true visitors, even
I cfparam both form and url forms of the variable.
Then I convert to Variables...
cfparam name=form.something default= /
cfparam name=url.something default= /
cfset Variables.something = myDefaultValue /
cfif len(url.something)cfset Variables.something = url.something
//cfif
cfif
You can configure your load-balancers to have sticky sessions, or
route
traffic however you like. The only problem is price, and is it
overkill for
this situation. Your IP change is the cheapest and simplest. It will
also
have a period of downtime until you can get to the server to
Shannon, thanks for your time. I was hoping for an automated solution, but your
direction helped. Thanks again.
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing
Rick T rtuinenb...@gmail.com wrote:
#define STX 0x02
#define ETX 0x03
it is a function of type integer called calculate_lrc. There is an
input pointer to a string called packet.
short int calculate_lrc(char *packet)
{
define variables
char
One thing though, if the values are showing up in the url then your form
itself must be using GET, otherwise they wouldn't show in the URL.
I thought it was clear in my initial post that the form was indeed
submitted using POST.
and of course I do validate the values received.
The problem is
Create a required variable and use that to redirect them back to the
form.
I.E.
cfparam name=form.requiredparam default= /
cfif form.requiredparam neq ABCDEF123456
cflocation url=formtemplate.cfm /
/cfif
Steve
-Original Message-
From: Claude Schneegans
On Mon, Sep 14, 2009 at 6:56 PM, Brian Dumbledore wrote:
When my cf application server goes down, I want a backup machine (warm backup
I guess) to take over. Should be a simple IP switch from one machien to
another if possible.
That is a very common scenario (because you usually can use a
| I thought it was clear in my initial post that the form was indeed
| submitted using POST.
| and of course I do validate the values received.
| The problem is when the user resubmits it from his browser using GET
| (probably not even being aware of it).
| I can detect this situation, my
Well in the end it was a rookie mistake... DOH!
One of the most heavily used queries in the system was set up to be cached
for 10 minutes at a time. The only problem was that one of the parameters I
was passing into the query was a date/time of Now().
Changing the parameter being passed in from
When my cf application server goes down, I want a backup machine (warm
backup I guess) to take over. Should be a simple IP switch from one
machien to another if possible.
Can someone who have worked on failover scenarios suggest some options
for me? I do not want my application to die due
oh no!
swfupload is ok but has some issues and limitations and it's not jquery which
makes interacting with it a bit more difficult.
I'm making a fairly sweet uploader in jquery and ended up using uploadify as
the base uploader but I alter the source code.
As far as the original question as
The documentation doesnt say much except ...
...
The captured fingerprint is a 256 gray-level image.
Are you looking at the java documentation/api? It seems odd they would not
provide more detailed information, or at least a few code examples.
I am just guessing here. But that sounds like
swfupload is ok but has some issues and limitations and it's not jquery
which makes interacting with it a bit more difficult.
What issues and limitations exactly? Had no problems using jQuery with it -
though that uploadify looks like a better js implementation for sure.
Dominic
2009/9/14
It is common to treat post and get data in the same way; simply, user input.
I find doing this gives you greater flexibility and clarity (my page gets
input, I do stuff with it). All frameworks that I have used have done this
and it's a real snip to do at the beginning of a request somewhere:
Hey All,
I'm trying to parse out a 65mb XML file from a customer... Don't ask...
Every time I try to hit it with XMLParse(), memory spikesfrom 500mb to 1,200
and then crashes CF
Has anyone else dealt with big XML files like this?
=]
--
Alan Rother
Adobe Certified Advanced ColdFusion MX 7
I'd recommend grabbing a SAX parser and using that instead of the
DOM-based stuff that CF ships with. Then you can stream the file in
and deal with it's nodes sequentially, rather than having to inflate
the whole thing into a DOM tree to manipulate. Definitely can make
the code trickier to
The documentation doesnt say much except ...
...
The captured fingerprint is a 256 gray-level image.
Are you looking at the java documentation/api? It seems odd they would
not provide more detailed information, or at least a few code examples.
I am just guessing here. But that
Is that a one-image-at-a-time processor, or will it handle
multiple images submitted at once?
Multiple images is what I'm trying to accomplish. I usually let
a user select all the images they want to upload before submitting
by letting them clone the file input.
Then, within the cfc method, I
No, your cfc method won't be able to send back multiple returns. Instead,
the flash uploader will upload the files one at a time to your CFC but your
user will have the experience of sending them all at once. You will be able
to customize progress reports as the flash object will publish
Another option is to use a zip utility to handle more than one image. This can
allow for as many files as you want. Simply upload one zipped folder and then
do a recursive loop inside of the zipped folder to grab all of the images.
Hello there! I have a website that is being hosted through CrystalTech and am
running into an issue with assigning a datasource through their control panel.
From what I've seen in the past, you assign a datasource name with a userid and
password and then associate whatever MySQL database you
What issues and limitations exactly? Had no problems using jQuery with it -
though that uploadify looks like a better js implementation for sure.
There is no issues it's just not as clean. It's also harder to control the
data coming back. I just went through most all the ajax uploads and thought
You can't send back multiple returns in same method but you can just output the
data which is what the flash part is looking for and it reports it back to ajax
script as many times as you need, doesn't matter if it is once or 1000.
Or you can loop over the method and grab each return and send
What if the images have other data that go with them like descriptions?
Just as easily you could first make a temp folder with a uuid or session as the
name and dump them in there without having to zip them.
If you have more than just the picture such as a description or other data then
multi
request.data = url;
StructAppend(request.data, form);
This will work if the GET request transmits the form parameters in the
url instead, but it is not the case: the url contains no value.
~|
Want to reach the ColdFusion
After processing the form, redirect the browser (302 redirect,
cflocation) to the 'thank you, your form is submitted' page.
Good point, except many times, the input process is not finished.
There may be 4 or 5 steps of form to fill before I can say thank you.
Not really simple to pass all
Create a required variable and use that to redirect them back to the
form.
Redirect them back to the form was indeed what I intent to do.
However, testing CGI.REQUEST_METHOD NEQ post seems more logical.
~|
Want to reach the
43 matches
Mail list logo