Re: Form based Redirect
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 40030
interpreted = N
texte = Donovan -As long as you are redirecting within the same server, you can write all the data you would be passing in the url to a temporary text file (use [cart] for a unique file name), and just pass a reference to that file in the url. In the receiving page, [include] that text file for access to all the data.A simple way to manage this would be with somehthing like this:[writefile file=[cart].txt]param1=[param1]¶m2=[param2]...][/writefile][redirect destination.tpl?ref=[cart]]On destination.tpl:[text multi=T][include file=[ref].txt][/text]Now, the destination page has param1, param2, etc. defined.Hope this helps...- BrianAt 10:28 AM -0600 11/12/2001, Donovan Brooke wrote:>Well that would be fine but this info will be for a user-interaction >based module>(as well as a user/login to auto populate shipping/billing info).>Users (account holders) will be able to see past orders, place >reorders and see their personal>info and edit it if they like. So I need to store this info in a >customer database.>(sorry I didn't give the full description in the first place) Even >though I can't>pass all the variables I can pass the most needed ones which might >be fine for now.>I will take a look at Java solutions down the road to complete it though.>thanks.>>John Peacock wrote:>>> Donovan Brooke wrote:>> >>> > Well, I'm trying to re-populate a form sheet when the >>customers passwords>> > do not verify. So instead of them having to enter in all the >>info again it keeps the>> > correct info populated. Just saw John's post and will look into it.>> > D>>>> Store the customer info in the ShoppingCart (which is really what it is used>> for), then redirect to the same page with a showcart context. >>Just don't let>> them do whatever you wanted to prevent them from doing until they>> authenticate...>>>> John>>>> -->> John Peacock>> Director of Information Research and Technology>> Rowman & Littlefield Publishing Group>> 4720 Boston Way>> Lanham, MD 20706>> 301-459-3366 x.5010>> fax 301-429-5747>>-- Donovan D. Brooke>Systems Administrator/>Assc. Art Director>Epsen Hillmer Graphics>>>>>------------------------------------------------------------->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 >>Web Archive of this list is at: http://search.smithmicro.com/-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =>-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Donovan -As long as you are redirecting within the same server, you can write all the data you would be passing in the url to a temporary text file (use [cart] for a unique file name), and just pass a reference to that file in the url. In the receiving page, [include] that text file for access to all the data.A simple way to manage this would be with somehthing like this:[writefile file=[cart].txt]param1=[param1]¶m2=[param2]...][/writefile][redirect destination.tpl?ref=[cart]]On destination.tpl:[text multi=T][include file=[ref].txt][/text]Now, the destination page has param1, param2, etc. defined.Hope this helps...- BrianAt 10:28 AM -0600 11/12/2001, Donovan Brooke wrote:>Well that would be fine but this info will be for a user-interaction >based module>(as well as a user/login to auto populate shipping/billing info).>Users (account holders) will be able to see past orders, place >reorders and see their personal>info and edit it if they like. So I need to store this info in a >customer database.>(sorry I didn't give the full description in the first place) Even >though I can't>pass all the variables I can pass the most needed ones which might >be fine for now.>I will take a look at Java solutions down the road to complete it though.>thanks.>>John Peacock wrote:>>> Donovan Brooke wrote:>> >>> > Well, I'm trying to re-populate a form sheet when the >>customers passwords>> > do not verify. So instead of them having to enter in all the >>info again it keeps the>> > correct info populated. Just saw John's post and will look into it.>> > D>>>> Store the customer info in the ShoppingCart (which is really what it is used>> for), then redirect to the same page with a showcart context. >>Just don't let>> them do whatever you wanted to prevent them from doing until they>> authenticate...>>>> John>>>> -->> John Peacock>> Director of Information Research and Technology>> Rowman & Littlefield Publishing Group>> 4720 Boston Way>> Lanham, MD 20706>> 301-459-3366 x.5010>> fax 301-429-5747>>-- Donovan D. Brooke>Systems Administrator/>Assc. Art Director>Epsen Hillmer Graphics>>>>>------------------------------------------------------------->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 >>Web Archive of this list is at: http://search.smithmicro.com/-- <= Brian C. Fries, BrainScan Software http://www.brainscansoftware.com =>-------------------------------------------------------------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 Web Archive of this list is at: http://search.smithmicro.com/
Brian Fries
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:
Page Counters? (1997)
Another XML Questgion (2000)
[WebDNA] .html extension (2012)
Download URL & access on the fly ? (1997)
triggering an update of two frames (1998)
Thanks Grant (1997)
(1999)
Problems problems problems (1997)
Converting Esiting Html Table Forms to WebCat (1997)
Searching multiple fields from one form field (1997)
Pithy questions on webcommerce & siteedit (1997)
Math with Time (1997)
Encrypt & SetHeader Length Problem (2000)
Confirming a bug/oddity (2003)
Smith Micro - no competition (2000)
Job Hunting (1999)
WebCat2 - many [carts] on one template page? (1997)
WebCat2 - [format thousands] (1997)
Platform Switch (1997)
[taxRate] [TaxTotal] ? (1997)