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:

    
  1. Re: Form based Redirect (Donovan Brooke 2001)
  2. Form based Redirect (Michael Davis 2001)
  3. Re: Form based Redirect (John Peacock 2001)
  4. Re: Form based Redirect (Donovan Brooke 2001)
  5. Re: Form based Redirect (John Peacock 2001)
  6. Re: Form based Redirect (Brian Fries 2001)
  7. Re: Form based Redirect (Donovan Brooke 2001)
  8. Re: Form based Redirect (Sally Reidy 2001)
  9. Re: Form based Redirect (John Peacock 2001)
  10. Re: Form based Redirect (Will Starck 2001)
  11. Re: Form based Redirect (Donovan Brooke 2001)
  12. Re: Form based Redirect (John Peacock 2001)
  13. Re: Form based Redirect (dale 2001)
  14. Form based Redirect (Donovan Brooke 2001)
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:

Getting real time CC's out of Australia (1998) Summary search -- speed (1997) Nested tags count question (1997) This message couldn't reach the list! (multi-column (1998) (OT) SERVER FREEZES ALL AT SAME TIME (2004) Bug Report, maybe (1997) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) UPS Shipping Docs (Where To Go) (1999) how do I delete 1 of 2 identical records? (2003) Sort Order on a page search (1997) Strange ShowIf behaviour (2001) Multiple cart additions (1997) [ListFiles] Context Question (2004) Problems with [Search] param - Mac Plugin b15 (1997) A question for the experts (2000) logout after authenticated (2002) How to best sort in a pre-defined item-by-item order ... (2003) Plugin or CGI or both (1997) Auto entering Friday's date in a field (2002) Web*3 virtual hosting Webcatalog problem (1998)