Click to See Complete Forum and Search --> : Need Help With URL's


hnhn2020
12-16-2002, 07:48 AM
If I have a URL:

www.xyx/catalog.asp?onAddToCart=http://www.xyz/shoppingCart.htm

how would I create a URL that dynamically creates the http://www.xyz/shoppingCart.htm URL? The reason I'm asking is because I do not know what the address of the shopping cart page will be once it's published, and I need to have a way of getting to the shopping cart page (what happens when they click on the add to cart button).

If anyone could help me on this, I would really apprieaciate it.

Thanks

Zach Elfers
12-16-2002, 09:10 AM
Where is the .com, .net, .org, etc. in your link?

hnhn2020
12-16-2002, 09:30 AM
Below is the link that works (internally) for me.

"http://10.1.1.123/catalog/root.asp?onAdd=http://10.1.1.123/website/ShoppingCart.htm"

However, I need to replace the onAdd page(http://10.1.1.123/website/ShoppingCart.htm) with the actual page, which I must somehow configure the URL dynamically because I don't know what it will be. It should be something like "www.xyz.com/store/shoppingCart.htm".