Re: Form based Redirect
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 40032
interpreted = N
texte = hmm, yes I see what you are saying, I do this at my checkout.html page. However, what I am talking about is onmy newaccounts setup page. Cutomers are entering new info into a form that is beingpassed back to the checkout.html page where the variables are instantly put into a setheader context. However,I want to have a feature on my newaccount page that has the user enter their chosen password twice (for theirbenifit) and when submitted it is varified. At this time, it has not been added to the shopping cart becauseit has been redirected to itself with the message: Your Passwords Do Not Match. Please reenter..etc..Even if I was to create a redundant setheader context on my newaccounts page I would still have to passthe variables in the redirect to itself.I suppose I could have a showif on my checkout page that verifies the two passwords and redirectsback to the accounts page after first linking the variables with the setheader context and then finds thatthe two passwords are not the same. At this point wouldn'tI just open up an orderfile tag on my accounts page to repopulate the form? I thought I read somewherethat showcart was a dangerous tag. ???Brians Idea seems like it would work also but which is more appropriate for this situation? that is the questionI guess. It doesn't seem like a lot of code to add to my checkout.page to verify the passwords thenredirect to the account page (using ?cart=[cart]) if it is not the same. However, it might be a good filter to NOT have thecustomer infosent to a shopping cart before the passwords are verified. I can see kids and such creatinga new account and just typing in junk and any sort of wall at that point might eliminate at least some false data inthe customers.db.Thanks much for the input.DonovanJohn Peacock wrote:> 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.>> Nothing you say precludes using a ShoppingCart to store the information, even> if it means the user logs in with their account number and the next page takes> the information in the customers.db and copies it to the ShoppingCart. Once> in a cart, you only need to add ?cart=[cart] to any redirects.>> Think of the ShoppingCart as storing the current session information each time> that they connect, and the customers.db contains their history of interactions> with the site.>> 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. BrookeSystems Administrator/Assc. Art DirectorEpsen 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/
Associated Messages, from the most recent to the oldest:
hmm, yes I see what you are saying, I do this at my checkout.html page. However, what I am talking about is onmy newaccounts setup page. Cutomers are entering new info into a form that is beingpassed back to the checkout.html page where the variables are instantly put into a setheader context. However,I want to have a feature on my newaccount page that has the user enter their chosen password twice (for theirbenifit) and when submitted it is varified. At this time, it has not been added to the shopping cart becauseit has been redirected to itself with the message: Your Passwords Do Not Match. Please reenter..etc..Even if I was to create a redundant setheader context on my newaccounts page I would still have to passthe variables in the redirect to itself.I suppose I could have a showif on my checkout page that verifies the two passwords and redirectsback to the accounts page after first linking the variables with the setheader context and then finds thatthe two passwords are not the same. At this point wouldn'tI just open up an orderfile tag on my accounts page to repopulate the form? I thought I read somewherethat showcart was a dangerous tag. ???Brians Idea seems like it would work also but which is more appropriate for this situation? that is the questionI guess. It doesn't seem like a lot of code to add to my checkout.page to verify the passwords thenredirect to the account page (using ?cart=[cart]) if it is not the same. However, it might be a good filter to NOT have thecustomer infosent to a shopping cart before the passwords are verified. I can see kids and such creatinga new account and just typing in junk and any sort of wall at that point might eliminate at least some false data inthe customers.db.Thanks much for the input.DonovanJohn Peacock wrote:> 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.>> Nothing you say precludes using a ShoppingCart to store the information, even> if it means the user logs in with their account number and the next page takes> the information in the customers.db and copies it to the ShoppingCart. Once> in a cart, you only need to add ?cart=[cart] to any redirects.>> Think of the ShoppingCart as storing the current session information each time> that they connect, and the customers.db contains their history of interactions> with the site.>> 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. BrookeSystems Administrator/Assc. Art DirectorEpsen 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/
Donovan Brooke
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:
Text data with spaces in them... (1997)
[TaxTotal] (1998)
'page impression' techniques for banner ads (1999)
Template Cache problem (2000)
Single Link browsing (1997)
Using [Include] Context (1999)
Emailer setup (1997)
Mystery File (2005)
Re:Comments Convertion (1998)
[TaxableTotal] - not working with AOL and IE (1997)
frames & carts (1997)
Roundup function? (1997)
REPOST: Overwiting SKU in Cart (2002)
[WebDNA] [OT] WebDNA Wiki - need grammar check / suggestions (2009)
Pass a form (2003)
Webcatalog server support (1997)
Setting vars in a text file..... (2004)
RE: Error reading data -1 (1997)
LinkExchange (1997)
Grouping Fields (2006)