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:
shownext (1997)
Search in 2 or more catalogs (1997)
[WebDNA] USPS interface (2008)
Sendmail html/text problem (2003)
spawn (1998)
Calendar using WebCatalog? (1997)
Multiple catalog databases and showcart (1997)
[WriteFile] problems (1997)
form data submission gets truncated (1997)
Location of Browser Info.txt file (1997)
NT 4.0/IIS WebCat Installation (1998)
How to Sort Summ data ? (1997)
[WebDNA] ImageMagick code (2013)
Replacing a price with text (1998)
Num Sort Descending (2004)
Date problems-more (1997)
I think I found a bug (2001)
Re:quit command on NT (1997)
WebCommerce: Folder organization ? (1997)
empty shopping cart message (1997)