Code Bank
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingCode Bank

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old February 28th, 2005, 12:46 PM
locodiablo locodiablo is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 3 locodiablo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 34 m 13 sec
Reputation Power: 0
Urgent Help!

I have recently joined a company where they're running a website coded in asp.
I did not create this website, but I know asp quite well.

I am after a piece of code to help sort out a problem with the website.

This is a car warranty website so bare with me while I'll explain what happens.

You type in mileage, year and model.
You select a 4 x 4 option or a 2.7 (extra's)

you select a plan and term. When you get to the last page to print, if you click back the website automatically adds the extras in again.
So it's adding the 4 x 4 or 2.7 engine again.

Is there any coding that can help me stop this, because a lot of people click back and get charged double. can anyone help me?
email me @ jamie.english@cox-internet.com

Reply With Quote
  #2  
Old March 1st, 2005, 05:22 AM
musa's Avatar
musa musa is offline
Master MC
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2004
Location: South Africa
Posts: 43 musa User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 h 9 m 20 sec
Reputation Power: 5
Facebook
I would suggest you clear the values on the page where they select all these options. i.e, you should clear these values when the form loads.

Examples:
var1 = "";
var2 = 0;

Alternatively, you may clear the values after they have been added or used in some way. that means somewhere at the end the code.

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingCode Bank > Urgent Help!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT