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:
Setting up shop (1997)
Separate SSL Server (1997)
Been meaning to ask... (1997)
Not sending email !!! (2002)
To Err or Not Custom Error (1999)
[WebDNA] Version 7.x: webdna.ini and EmailerPrefs (2012)
protect tag on NT (1997)
[searchString] (1997)
What am I missing (1997)
Need help... (1997)
japanese characters (1997)
Here we go again... (2006)
Again: tcpconnect problem with authorize.net (2003)
Template transformed itself into a database? (1998)
Protect vs Authenicate (1997)
search context w shownext works! (1997)
Notepad problems (1998)
Nested tags count question (1997)
Store setup questions (2000)
newbie Q: [cart] documentation (1999)