View Full Version : Switching pages help please :)

02-13-2007, 01:23 PM

I have two pages on a shopping cart type database etc. The first page called Product.asp is where it shows you a more detailed description of the product your interested it. The second page i have just created and added to the shopping cart is called productprint.asp: this shows none of the background colors/images just the text.

The trouble im having is that the product.asp page is used for more than one product so in the address bar it appears like this:


when i do that same link above but with productprint.asp i get the page that is setup up for printing. What i want to do is:

On the product.asp page have a button that says print and when its pressed it replaces the product.asp with productprint.asp but it keeps all the stuff after product.asp so it is still printing that item.

If anyone has any ideas that would be great :)

Many thanks

02-13-2007, 03:02 PM
?<%= Request.QueryString %>
after the code for your button click.

What's your code for the click look like right now?
You should just be able to append to it, but it depends on exactly how you set it up. If you're using an entire form action, append to that instead.