Re: createfolder not behaving as expected
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 25717
interpreted = N
texte = >Can anyone see a reason that this wouldn't work?>>[showif [listmach]=T][createfolder /special/[auctionid]] [redirect>t_machineentry.tmpl?command=search&db=/databases/tempauctioneers.db&eq>dealeriddatarq=[dealerid]&auctionid=[auctionid]][/showif]>>>This code, does the redirect, but does NOT create a folder. Can>anyone see a reason for this? Looks to me as it should work.Maybe it's a bug, for example, the redirect happens before the folder has a chance to be created, so the folder is never really created.Try putting the redirect inside a [waitforfile] context that waits for the folder to be created ... and if the waitforfile context needs to wait for an actual file instead of a folder, create a file inside the new folder after the folder is created, then wait for that file ... :)================================Kenneth Grome, WebDNA Consultant808-737-6499, http://webdna.net================================-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to
.This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Associated Messages, from the most recent to the oldest:
>Can anyone see a reason that this wouldn't work?>>[showif [listmach]=T][createfolder /special/[auctionid]] [redirect>t_machineentry.tmpl?command=search&db=/databases/tempauctioneers.db&eq>dealeriddatarq=[dealerid]&auctionid=[auctionid]][/showif]>>>This code, does the redirect, but does NOT create a folder. Can>anyone see a reason for this? Looks to me as it should work.Maybe it's a bug, for example, the redirect happens before the folder has a chance to be created, so the folder is never really created.Try putting the redirect inside a [waitforfile] context that waits for the folder to be created ... and if the waitforfile context needs to wait for an actual file instead of a folder, create a file inside the new folder after the folder is created, then wait for that file ... :)================================Kenneth Grome, WebDNA Consultant808-737-6499, http://webdna.net================================-------------------------------------------------------------Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server.To end your Mail problems go to .This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Search Question (2003)
Add Unit Ship Cost to Cart (2000)
Database Security (1998)
i luv formulas! (was Cool! formulas) (1998)
FW: SQL Error: 00000 (2004)
spawn (1998)
vs (1997)
Two stores, one server (1998)
Security Question (1997)
random images (1997)
Email notification to one of multiple vendors ? (1997)
FAX orders (1996)
[TaxableTotal] - not working with AOL and IE (1997)
Multiple Pulldowns (1997)
Out of the woodwork (2007)
ShowNext Command (1997)
Removing [showif] makes a big difference in speed (1997)
2cd pare of eyes. (2001)
Initiating NewCart (1997)
Multiple fields on 1 input (1997)