User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP section within the Web Development category of DaniWeb, a massive community of 423,610 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,211 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP advertiser: Lunarpages ASP Web Hosting
Views: 4134 | Replies: 2
Reply
Join Date: Jul 2004
Posts: 1
Reputation: thegodson_1234 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
thegodson_1234 thegodson_1234 is offline Offline
Newbie Poster

Requesting Querystring

  #1  
Jul 17th, 2004
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
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2003
Location: Canada
Posts: 786
Reputation: Paladine has a spectacular aura about Paladine has a spectacular aura about Paladine has a spectacular aura about 
Rep Power: 9
Solved Threads: 25
Colleague
Paladine's Avatar
Paladine Paladine is offline Offline
Master Poster

Re: Requesting Querystring

  #2  
Jul 17th, 2004
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.

Hope this helps!
Assistant Manager, Regional Pharmacy Information Systems
TLC Services Website (Under Construction)
Updated : ASP.Net Login Code
Reply With Quote  
Join Date: Jul 2004
Posts: 32
Reputation: RobUK is an unknown quantity at this point 
Rep Power: 5
Solved Threads: 1
RobUK RobUK is offline Offline
Light Poster

Re: Requesting Querystring

  #3  
Jul 20th, 2004
You should use response.write Server.URLEncode(URLQuerystring) to produce the URL querystring....

This will encode the + sign in a way that is retreivable.
Rob - DMOZ Editor
Web Design Forums - Free website critiques. Web design + SEO Advice
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb ASP Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the ASP Forum

All times are GMT -4. The time now is 8:47 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC