This topic is locked

URL problem

4/1/2010 7:44:12 AM
ASPRunnerPro General questions
S
srikanth author

hi...
i have a application built in asprunner 6.1 for one of the tables, i use events response.redirect to call for another url
Response.Redirect "http://202.138.99.242/Send/sendmsg.php?uname=demo&pass=demo&send=DEMO&msg="'>http://202.138.99.242/Send/sendmsg.php?uname=demo&pass=demo&send=DEMO&msg=" & marks & "&dest=" & request.querystring("dest")
but thru our back end we found that the application is calling the url as
http://202.138.99.242/Send/sendmsg.php? uname=demo&pass=demo&send=DEMO&msg=Invalid%20USCN%20Please%20Re- try&dest=919900
so with the above url we can say there is something going rong in the url encoding from at the end...
only the & in my url is being converted to &
can u tel me how to avoid this and encode the url....

J
Jane 4/2/2010

Srikanth,
just user Response.Redirect statement and replace AddedValue with actual value in the URL:

Response.Redirect " http://202.138.99.242/SendSMS/sendmsg.php?uname=demo&pass=demo&send=DEMO&msg="&request.querystring("SearchFor")&"&dest=sender