problem with passing variables through asp pages

Hello,

I have got a problem when sending variables from one page to another. I have this problem with my own site. But I also encounter this same problem when I try this simple example on my system:
FILE : SENDING.ASP

<%
name2 = "The name I want"
'or name2 = recordsetobject("name"). Yes you can get info from DB
phone2 = "1232131221"
%>

&phone=<%=phone2%>" target="_self" >
image


FILE : GETTING.ASP

<%
gotname = request.querystring("name")
gotphone = request.querystring("phone")
%>

Most strings don't give problems. But when I do try to send a string which has a + sign in it or a & sign these signs disappear when I pass them to another page. For example when I have got these string: [b]S.O. 1.1 + 1.2[/b] I will lose the + sign when I pass it through! I will remain [b]S.O. 1.1 1.2[/b] of this string! Can you help me out on this?!

Thanking you in advance for your answer.

Regards, Ad. Verschuren
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories