954,136 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Requesting Querystring

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

thegodson_1234
Newbie Poster
1 post since Jul 2004
Reputation Points: 10
Solved Threads: 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!

Paladine
Master Poster
Team Colleague
824 posts since Feb 2003
Reputation Points: 211
Solved Threads: 27
 

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

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

RobUK
Light Poster
32 posts since Jul 2004
Reputation Points: 10
Solved Threads: 1
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You