strange problem In redirection?
-
i am working on e-payment site and i use string concatination method to send the complete url with the products
StrRedirect="https://www2.2checkout.com/2co/buyer/purchase?sid=215387"; if(CheckBox1.Checked) { //StrRedirect=StrRedirect+"&total=35&cart_order_id=12587529"; string Str="&product_id=5&quantity=1"; StrRedirect=StrRedirect+Str; } if(CheckBox2.Checked) { string Str="&product_id=4&quantity=1"; StrRedirect=StrRedirect+Str; } Response.Redirect(StrRedirect,true);
but this code send the url but not as i concatinated it it sends it the product ids first then the quantity wich are not applicable to site i send it the url what happened to the url and how it can be solved thanx in advance -
i am working on e-payment site and i use string concatination method to send the complete url with the products
StrRedirect="https://www2.2checkout.com/2co/buyer/purchase?sid=215387"; if(CheckBox1.Checked) { //StrRedirect=StrRedirect+"&total=35&cart_order_id=12587529"; string Str="&product_id=5&quantity=1"; StrRedirect=StrRedirect+Str; } if(CheckBox2.Checked) { string Str="&product_id=4&quantity=1"; StrRedirect=StrRedirect+Str; } Response.Redirect(StrRedirect,true);
but this code send the url but not as i concatinated it it sends it the product ids first then the quantity wich are not applicable to site i send it the url what happened to the url and how it can be solved thanx in advanceI dont know why but you can try like this string Str="&product_id=5"; StrRedirect=StrRedirect+Str; Str="&quantity=1"; StrRedirect=StrRedirect+Str;