URL Stop and then Redirect

2007-04-20 Thread John Cox
Hi all,

I am a little stuck on a little problem, and times like these are when there
is an obvious solution from a non-interested party.  I am writing a dirty
import script to move thousands of items from one architecture to another.
What I am doing is basically getting all the information from the old
database and converting it to the new database (is not a one-to-one
relationship) structure.  I am just grabbing one item at a time and then
redirecting back to the script.

What I would like to do is stop and then redirect so I don't end up in an
infinite loop, but the cflocation tag, doesn't really seem to behave quite
the way I want.  Is there another tag that would do what I am thinking or
can someone think of an alternative?  I have about 25k items to do, so I'd
like to just start the script this afternoon and run it through the night
tonight.

Thanks for any suggestions!

jc


~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275949
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: URL Stop and then Redirect

2007-04-20 Thread John Cox
Duh, nevermind;)

Meta redirect works exactly as I want.  Sorry for the mail clutter.

jc

On 4/20/07, John Cox [EMAIL PROTECTED] wrote:

 Hi all,

 I am a little stuck on a little problem, and times like these are when
 there is an obvious solution from a non-interested party.  I am writing a
 dirty import script to move thousands of items from one architecture to
 another.  What I am doing is basically getting all the information from the
 old database and converting it to the new database (is not a one-to-one
 relationship) structure.  I am just grabbing one item at a time and then
 redirecting back to the script.

 What I would like to do is stop and then redirect so I don't end up in an
 infinite loop, but the cflocation tag, doesn't really seem to behave quite
 the way I want.  Is there another tag that would do what I am thinking or
 can someone think of an alternative?  I have about 25k items to do, so I'd
 like to just start the script this afternoon and run it through the night
 tonight.

 Thanks for any suggestions!

 jc



~|
Macromedia ColdFusion MX7
Upgrade to MX7  experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275951
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: URL Stop and then Redirect

2007-04-20 Thread Ken Wexel
Done this exact things many times using the META redir tag...nice
little fudged CF automation :)

On 4/20/07, John Cox [EMAIL PROTECTED] wrote:
 Hi all,

 I am a little stuck on a little problem, and times like these are when there
 is an obvious solution from a non-interested party.  I am writing a dirty
 import script to move thousands of items from one architecture to another.
 What I am doing is basically getting all the information from the old
 database and converting it to the new database (is not a one-to-one
 relationship) structure.  I am just grabbing one item at a time and then
 redirecting back to the script.

 What I would like to do is stop and then redirect so I don't end up in an
 infinite loop, but the cflocation tag, doesn't really seem to behave quite
 the way I want.  Is there another tag that would do what I am thinking or
 can someone think of an alternative?  I have about 25k items to do, so I'd
 like to just start the script this afternoon and run it through the night
 tonight.

 Thanks for any suggestions!

 jc


 

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275952
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: URL Stop and then Redirect

2007-04-20 Thread Andy Matthews
Might it not be better to perform a query of your file system using cffile?

Then you can loop over that and move things where they need to be. 

-Original Message-
From: John Cox [mailto:[EMAIL PROTECTED] 
Sent: Friday, April 20, 2007 1:08 PM
To: CF-Talk
Subject: Re: URL Stop and then Redirect

Duh, nevermind;)

Meta redirect works exactly as I want.  Sorry for the mail clutter.

jc

On 4/20/07, John Cox [EMAIL PROTECTED] wrote:

 Hi all,

 I am a little stuck on a little problem, and times like these are when 
 there is an obvious solution from a non-interested party.  I am 
 writing a dirty import script to move thousands of items from one 
 architecture to another.  What I am doing is basically getting all the 
 information from the old database and converting it to the new 
 database (is not a one-to-one
 relationship) structure.  I am just grabbing one item at a time and 
 then redirecting back to the script.

 What I would like to do is stop and then redirect so I don't end up in 
 an infinite loop, but the cflocation tag, doesn't really seem to 
 behave quite the way I want.  Is there another tag that would do what 
 I am thinking or can someone think of an alternative?  I have about 
 25k items to do, so I'd like to just start the script this afternoon 
 and run it through the night tonight.

 Thanks for any suggestions!

 jc





~|
Create robust enterprise, web RIAs.
Upgrade  integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275954
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: URL Stop and then Redirect

2007-04-20 Thread Rick Root
On 4/20/07, Ken Wexel [EMAIL PROTECTED] wrote:
 Done this exact things many times using the META redir tag...nice
 little fudged CF automation :)

I did that just a few weeks ago when I built an import process for a
client... I wanted to make sure the page actually redirected to itself
but passed different arguments so it would know which step it was
performing

Rick

~|
Upgrade to Adobe ColdFusion MX7
The most significant release in over 10 years. Upgrade  see new features.
http://www.adobe.com/products/coldfusion?sdid=RVJR

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:275958
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4