ColdFusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsProgramming Languages - MoreColdFusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 3rd, 2011, 02:51 PM
qstarweb qstarweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 4 qstarweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 22 sec
Reputation Power: 0
Question about Coldfusion tags for several steps of processing

I'm am generally a beginner in ColdFusion programming and I have an application I'm working on that requires several steps of data processing. In one CFM page it is too long and times out, so I separated it into several pages that run one after another using re-direct codes to load next and that has problems.

Which CF tags do I need to use to have this in one CFM page, and have one process run, then next process, then next process. I don't need to have it made decisions such as <CFIF> tag but just a tag that has it run first process alone, so it doesn't run them all and time out, then when finished, run the second, and I think there are about 35 processes I'll run but simply run them in order, 1,2,3 etc. until all are done.

Can anyone make sense of what I'm talking about and give me some suggestions on which tags I can use to do this?

Thanks,

Dean

Reply With Quote
  #2  
Old November 3rd, 2011, 04:22 PM
kiteless kiteless is offline
Moderator
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 5,091 kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 2 h 53 m 27 sec
Reputation Power: 966
Well you can do it by having them move through separate pages, since each request has a separate timeout. You could look into using AJAX if you need to keep them on the same page while all of the separate requests run (check out jQuery). Or you may be able to use CFTHREAD to split the processes into separate threads and run them simultaneously, but if you're a beginner that's probably going to be somewhat complex for you.

Reply With Quote
  #3  
Old November 3rd, 2011, 07:03 PM
qstarweb qstarweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 4 qstarweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 22 sec
Reputation Power: 0
Another question

Thanks for the response. If I keep them on separate pages, whc is best way to have each page automatically load the next after it completes? Right now I"m using:

<body onLoad="parent.location='URL HERE';" >

on each page and sometimes that just decides it doesn't want to work or at least it seems to do that.

Thanks,

Dean



Quote:
Originally Posted by kiteless
Well you can do it by having them move through separate pages, since each request has a separate timeout. You could look into using AJAX if you need to keep them on the same page while all of the separate requests run (check out jQuery). Or you may be able to use CFTHREAD to split the processes into separate threads and run them simultaneously, but if you're a beginner that's probably going to be somewhat complex for you.

Reply With Quote
  #4  
Old November 4th, 2011, 09:26 AM
kiteless kiteless is offline
Moderator
Dev Shed God (5000 - 5499 posts)
 
Join Date: Jun 2002
Location: Raleigh, NC
Posts: 5,091 kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level)kiteless User rank is General (90000 - 100000 Reputation Level) 
Time spent in forums: 2 Weeks 5 Days 2 h 53 m 27 sec
Reputation Power: 966
Actually, can you just increase the timeout for this one page and do it all on one page? <cfsetting requestTimeOut = "value in seconds" />

Reply With Quote
  #5  
Old November 4th, 2011, 12:20 PM
qstarweb qstarweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 4 qstarweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 22 sec
Reputation Power: 0
Thanks I'll try that and report back on how it works.

Dean

Reply With Quote
  #6  
Old November 6th, 2011, 07:08 PM
qstarweb qstarweb is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2011
Posts: 4 qstarweb User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 m 22 sec
Reputation Power: 0
That worked

it worked, thanks.

Dean

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreColdFusion Development > Question about Coldfusion tags for several steps of processing

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap