sonal
01-17-2005, 09:18 AM
i have trying to pass string on next page throug qurey strong
but when i try to get in next page its taken only first word.
Like nokia 3600 orange network
when i get on next page id taken only nokia..
Thanks....
jaywhy13
01-18-2005, 02:58 PM
Could you post some code or post the url....
Ususally it should escape the string and put like a "%20" for the space.
jaywhy13
01-18-2005, 03:00 PM
You should also try using the Post method to see if the same thing happens! :rolleyes:
ghell
01-18-2005, 03:41 PM
hmm
if you use this
<a href="page.asp?phone=nokia 3600 orange network">link</a>
you should be able to read it fine with
Request.QueryString("phone")
make sure you have the "s in the link though, a lot of people dont, or use '.. both of these are pants and you should always use "s
you didnt actaully say anything about ampersands (&) but if you pass this in the link it needs to be changed to the urlencode of it (in the same way that space is %20)
eg
<a href="page.asp?toothpaste=<%=Server.URLEncode("arm&hammer, it must be the baking soda")%>">
i think.. if you send it as & it will think you are sending a 2nd querystring, eg
?qs1=pie&qs2=pasta&qs3=....
sonal
01-20-2005, 10:21 AM
i got solution using urlencode..
Tnanks again... :)