0

I am requesting a querystring from another page.
This field in access db is a text field.
The field is a field containing URL Links.

HOWEVER,

If the field that Im requesting contains the character "+" anywhere in it. When calling the querystring as a value. It displays everything except the "+" character

FOR EXAMPLE:

The field which Im calling would contain something like this
www.msn.com/help+me.mp3

HOWEVER:

When calling the querystring it displays this:
www.msn.com/help me.mp3


WHY? Please help! Thank-You

3
Contributors
2
Replies
3
Views
13 Years
Discussion Span
Last Post by RobUK
0

Has to do with the fact that QueryString encoding prevents it. See here. Which is more removing it, then preventing it.

Any for one of the reasons it should be obvious. QueryString retrieves a string and a means of concatenating two strings together is with a + or & depending on the language.

Sorry this is a crude explaination, but that is the best I had at the end of a long hard day. :cool:

Hope this helps!

0

You should use response.write Server.URLEncode(URLQuerystring) to produce the URL querystring....

This will encode the + sign in a way that is retreivable.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.