Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old March 27th, 2004, 09:58 PM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default %20 in Query string

how do i get rid of %20 from my query string.

Here is my link

<a href="apply.asp?<%=(jobsmaster.Fields.Item("JPosit ion").Value)%>">Apply Now</a>

apply.asp?=Event Security

Reads Event%20Security

  #2 (permalink)  
Old March 27th, 2004, 10:58 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

You don't, the querystring represents %20 as a space. When you use Request.QueryString("property"), it removes this. At least, I haven't seen that work without the %20...
  #3 (permalink)  
Old March 28th, 2004, 05:08 AM
Registered User
 
Join Date: Mar 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I got it, I didn't have a property?? (asdf.asp?property=vale)

I think that was it, works now.

  #4 (permalink)  
Old March 29th, 2004, 02:51 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Yeah that was it, I missed that...


Similar Threads
Thread Thread Starter Forum Replies Last Post
Query string value SKhna ASP.NET 2.0 Basics 1 March 17th, 2008 07:27 AM
Query String Baby_programmer ASP.NET 1.0 and 1.1 Basics 3 December 24th, 2004 11:14 AM
Query String Nitin_sharma VBScript 1 December 16th, 2004 07:58 AM
newbie - Query to String dholcomb Access VBA 3 August 16th, 2004 09:44 AM
Ampersand in a Query string nkunapaneni HTML Code Clinic 2 November 3rd, 2003 01:07 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.