yu******@gmail.com wrote:
when i transfer string with URL that include space LIKE
www.domaun.com/page.asp?n=victor yakov
its open on the browser:
www.domaun.com/page.asp?n=victor yakov
and when i call the Variable n by the command Request.Query("n")
I got just the first name: victor
How to fix that?
Can anyone know how to commpress some varible on 1 URL link ?
You need to encode the space in the url:
www.domaun.com/page.asp?n=victor%20yakov
If using creating the url in client-side script, you can use the escape()
function to build it.
If the url is created in server-side code, use the Server.URLEncode function
to encode it.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.