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:
Make sure I understand this??? (1997)
[Cart] ... (1997)
[showif],[refferer],[include] in errormessages.db (2002)
Re:listfiles-looking for slick solution (1997)
math with multiple [founditems] (1999)
PCS Emailer's role ? (1997)
Multiple prices (1997)
Resetting a Formvariable (2000)
Dumb Question about Docs (1997)
auto adding SKUs w/DB helper (1998)
More on the email templates (1997)
Auction made in webcat (2000)
Emailer Error 550 (Was Strange Crash) (1998)
Re:Up-date for Webcatalog 2.0 (1998)
Sendmail Excel Attachment (2006)
Bug reported on June 6, 2000 still not fixed ... (2000)
WebCatalog for guestbook ? (1997)
Multiple security dbs (1997)
How true is this? (1999)
Document Contains No Data! (1997)