RE: Web Service and "cannot find component" error

2004-02-29 Thread CFTalk
Has anyone actually tried to create a CFC that is used as a Web Service, and within that CFC it invokes another CFC?? I cannot for the life of me figure out why CF throws a "Cannot find component" error (works under all normal circumstances). I am missing something? Assume the "whatever." bit is a

RE: Protect action pages

2004-02-29 Thread Matthew Walker
Also software such as Norton Internet Security removes the referrer value, leaving some users unable to use your app. Basically, I believe referrers shouldn't be use for anything except stats gathering. -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, 1 March 20

RE: Protect action pages

2004-02-29 Thread Dave Watts
> How about a hidden flash app that uses the xmlload method to grab the > http_host/http_referer from the server in a hash format that is then > passed with all forms/urls? On the next pages, the hash returned by > flash would be compared with a hash of the > cgi.http_host/cgi.http_referer returned

Re: Protect action pages

2004-02-29 Thread Steve Nelson
> > > This can't stop anything. Both HTTP_HOST and HTTP_REFERER are set by > the > browser, and can be changed by anyone writing an HTTP client: > > > > > > How about a hidden flash app that uses the xmlload method to grab the http_host/http_referer from the server in a hash format that is the

RE: Can you reset row numbers in a DB after deleting all rows?

2004-02-29 Thread Michael Wolfe
This won't work if the table has any foreign keys related to it. A better solution is to use DBCC CHECKIDENT('table_name', RESEED, 1) -- Michael Wolfe [EMAIL PROTECTED]   _   From: Joe Eugene [mailto:[EMAIL PROTECTED] Sent: Sunday, February 29, 2004 6:41 PM To: CF-Talk Subject: RE: Can

Re: Can you reset row numbers in a DB after deleting all rows?

2004-02-29 Thread Steve Nelson
You could use UUIDs instead of autonumbers. Steve Nelson Nick Baker wrote: > MS Access > CF 5 > > Can you reset rows numbers back to starting at row number 1 in a DB, > after > deleting all rows? > > The goal is to totally erase and restore DB, on the fly, from time to > time. > New info will ha

RE: Can you reset row numbers in a DB after deleting all rows?

2004-02-29 Thread Joe Eugene
truncate table TableName (will clear all the data and reset any identity fields) Joe   -Original Message-   From: Nick Baker [mailto:[EMAIL PROTECTED]   Sent: Sunday, February 29, 2004 9:19 PM   To: CF-Talk   Subject: Can you reset row numbers in a DB after deleting all rows?   MS Access

Re: Can you reset row numbers in a DB after deleting all rows?

2004-02-29 Thread Josh
not sure about access...but in MySQL, PostgreSQL, Oracle, etc.  You reset the sequence to whatever you want...there's bound to be a way in Access. --- Exciteworks -- expert hosting for less! http://exciteworks.com specializing in reseller accounts Nick Baker wrote: > MS Access > CF 5 > > Can y

RE: Can you reset row numbers in a DB after deleting all rows?

2004-02-29 Thread Matthew Walker
You can delete and recreate the table. DROP TABLE mytable CREATE TABLE myTable ( Col1 INTEGER, Col2 AUTOINCREMENT, Col3 YESNO, Col4 TEXT (50) ) -Original Message- From: Nick Baker [mailto:[EMAIL PROTECTED] Sent: Monday, 1 March 2004

Can you reset row numbers in a DB after deleting all rows?

2004-02-29 Thread Nick Baker
MS Access CF 5 Can you reset rows numbers back to starting at row number 1 in a DB, after deleting all rows? The goal is to totally erase and restore DB, on the fly, from time to time. New info will have the same columns, but a different number of rows each time. The Delete Row function of a C

Re: CFC Wrapper for ImageMagick?

2004-02-29 Thread Josh
That would be cool! If noone has one...I'd be willing to try a crack at a cfc...I have been slammed though, so I can't make any promises on a timeline. --Josh --- Exciteworks -- expert hosting for less! http://exciteworks.com specializing in reseller accounts Burns, John wrote: > I seem to re

Re: CFC Wrapper for ImageMagick?

2004-02-29 Thread Michael Dinowitz
One of these days I plan to write a connector to the DLL using CFOBJECT but the project has not come around yet. >Same here... I looked at the wrapper once but in the end I just found it >easier to use CFEXECUTE and and pass the arguments I needed. [Todays Threads] [This Message] [Subscriptio

RE: Protect action pages

2004-02-29 Thread Dave Watts
> But in cf is it not possible to write a subscript into the > appication file to check where a link is coming from and > redirect it if it is not from the same domain? Or, would the > HTTP_REFERER override is anyway? I'm most likely wrong, and I > agree with the fact that unless you are writin

RE: CFHTTP & Meta Refresh

2004-02-29 Thread Dave Watts
> I am looking at this original MACTOKEN cookie, and the second > 'path' part is not really a second cookie is it?  It is > actually the path attribute of the single cookie itself, > right?  So, does this part just get ignored or is there some > way to pass it in via cfhttpparam? >   > Set-Cook

Pricelist

2004-02-29 Thread rick
Look it through [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: CFHTTP & Meta Refresh

2004-02-29 Thread Jeff Chastain
I am looking at this original MACTOKEN cookie, and the second 'path' part is not really a second cookie is it?  It is actually the path attribute of the single cookie itself, right?  So, does this part just get ignored or is there some way to pass it in via cfhttpparam? Set-Cookie MACTOKEN=jcha

RE: CFHTTP & Meta Refresh

2004-02-29 Thread Philip Arnold
> From: Jeff Chastain >   > Using the cookie name/values returned in the first cfhttp > call as parameters in the second cfhttp call returns an > invalid login screen.  Is there something else I am missing > here? Without seeing it, I wouldn't know what's wrong... I've not seen that problem, s

RE: CFHTTP & Meta Refresh

2004-02-29 Thread Jeff Chastain
Phillip, Using the cookie name/values returned in the first cfhttp call as parameters in the second cfhttp call returns an invalid login screen.  Is there something else I am missing here? Thanks -- Jeff   _   From: Philip Arnold [mailto:[EMAIL PROTECTED] Sent: Sunday, February 29, 200

RE: CFHTTP & Meta Refresh

2004-02-29 Thread Philip Arnold
> From: Jeff Chastain > > Okay, there is a cookie in the header.  Having not worked > with CFHTTP before, what do I need to do with it? >   > Set-Cookie > MACTOKEN=jchastain|1078091329189|e4825ffba9b8603a0af27bd08c519dd2; > path=/psoft/servlet/psoft.hsphere.CP/jchastain/ Now that you have it, y

RE: CFHTTP & Meta Refresh

2004-02-29 Thread Jeff Chastain
Okay, there is a cookie in the header.  Having not worked with CFHTTP before, what do I need to do with it? Set-Cookie MACTOKEN=jchastain|1078091329189|e4825ffba9b8603a0af27bd08c519dd2; path=/psoft/servlet/psoft.hsphere.CP/jchastain/ I am running CFMX 6.1 if that matters as well. Thanks fo

RE: CFHTTP & Meta Refresh

2004-02-29 Thread Philip Arnold
> From: Jeff Chastain > > My hosting provider has a control panel application available > for each hosting plan that includes statistics like bandwidth > and disk space usage. I am needing to utilize these > statistics in my CF app, but the control panel does not > include an API to extract th

CFHTTP & Meta Refresh

2004-02-29 Thread Jeff Chastain
My hosting provider has a control panel application available for each hosting plan that includes statistics like bandwidth and disk space usage. I am needing to utilize these statistics in my CF app, but the control panel does not include an API to extract this information. Therefore, I have be

RE: CFC Wrapper for ImageMagick?

2004-02-29 Thread cf-talk
Same here... I looked at the wrapper once but in the end I just found it easier to use CFEXECUTE and and pass the arguments I needed. -Novak -Original Message- From: Michael Dinowitz [mailto:[EMAIL PROTECTED] Sent: Sunday, February 29, 2004 1:06 AM To: CF-Talk Subject: Re: CFC Wrapper

RE: CFHTTP return

2004-02-29 Thread Jochem van Dieten
Whittingham, P said: > Is it the web server (ie., IIS) or an application server (ie. > Crystal Enterprise 9) which would give me back this information? Whichever one sets the appropriate HTTP header. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

RE: CFHTTP return

2004-02-29 Thread Whittingham, P
Is it the web server (ie., IIS) or an application server (ie. Crystal Enterprise 9) which would give me back this information? TIA, Patrick Whittingham United Space Alliance -Original Message- From: Jochem van Dieten [mailto:[EMAIL PROTECTED] Sent: Sunday, February 29, 2004 8:47 AM To:

Re: CFHTTP return

2004-02-29 Thread Jochem van Dieten
Whittingham, P said: > >   Is it possible to get the date/time of a file (abc.rpt) on a > different server?? Does cfhttp return that information. If the webserver sends it you can extract it from the headers in cfhttp. Jochem [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe

CFHTTP return

2004-02-29 Thread Whittingham, P
Hi All,   Is it possible to get the date/time of a file (abc.rpt) on a different server?? Does cfhttp return that information. TIA, Patrick Whittingham United Space Alliance   _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Re: CFC Wrapper for ImageMagick?

2004-02-29 Thread Michael Dinowitz
There's a custom tag with some of the functionality linked off of the imagemagick site, but I've never used it. > I seem to remember hearing about a CFC written to interface with ImageMagick.  All I can seem to find is the MagickTag custom tag for doing that.  Does anyone know of a CFC?  Thanks. >