Multiple Parameter Values in One Segment

Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Sirena609

Thread Starter
Joined
Apr 4, 2008
Messages
2
Hello, I am desperately hoping someone out here can help me. I am in a bind and cannot figure this out. So here is the situation, I made a website that is programmed solely in ASP. It is an ecommerce application that I did last year. We use cart manager for our shopping cart software. Now the owner wants to use R&L Carriers for his shipments. Heres where the problem comes in, we want to be able to integrate their rate quote tool on our site. Cart Manager does not allow for their B2B tools to integrate directly into our shopping cart, which is where the problem arises. To get the rate quote I have to send them the information they need via a link with all kinds of parameters attached and then they send return data to a URL I specify. BUT they only allow for 1 cust data field in the url string. Now this stinks for me because I need to be able to save 2 pieces of information at the very least, I need to know the product number of what they are ordering and the amount of it that they want. When I spoke to their tech guys they said to just put it in as follows

&custdata=PRODUCTN|CARTONS

Heres my question...how am I supposed to be able to separate that out into 2 separate variables??

hopefully someone has an answer.....I am lost beyond lost
 

tomdkat

Retired Trusted Advisor
Joined
May 6, 2006
Messages
7,148
When I spoke to their tech guys they said to just put it in as follows

&custdata=PRODUCTN|CARTONS

Heres my question...how am I supposed to be able to separate that out into 2 separate variables??
I'm not an ASP person but there are a few here with ASP experience so they will be able to provide a more solid answer, I'm sure. :)

If you're getting "&custdata=PRODCUTN|CARTONS" in your ASP script, you'll need to parse out the two values on the right of the equal sign to store them in separate variables. This kind of parsing can be easily done using JavaScript but since you're in ASP land I don't know what will be required.

Please be patient to give the ASP folks a chance to find this thread and provide some assistance. :)

Peace...
 
Status
This thread has been Locked and is not open to further replies. Please start a New Thread if you're having a similar issue. View our Welcome Guide to learn how to use this site.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 807,865 other people just like you!

Latest posts

Staff online

Top