Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
VBScript For questions and discussions related to VBScript.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VBScript 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 December 15th, 2004, 06:17 AM
Authorized User
 
Join Date: Sep 2004
Location: West Midlands, , United Kingdom.
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Nitin_sharma Send a message via Yahoo to Nitin_sharma
Default Query String

Hi Guys,
I have a query string which i access as:
Request.ServerVariables("query_string") .

This query string holds a variable with an integer value which I need to remove when I go to particular webpage.
I try using :
tmpfield = replace(Request.ServerVariables("query_string"),"D fEEID=" ,"")

But being integer I dont know how can I completely change the variable with blank spaces.
at the moment it will replace DfEEID= with blank space how to change DFEEID=xxx with blank space.
Any help would be very much appreciated.
Nitin

Reply With Quote
  #2 (permalink)  
Old December 16th, 2004, 07:58 AM
Registered User
 
Join Date: Dec 2004
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

you can't do a replace on an int, and you can't turn it into balnk spaces..
In any case, the replace you're trying to run is looking for a string value.
Are you looking for request.querystring("DfEEID") instead, perhaps?

Reply With Quote


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 problem sathish_reddy ASP.NET 2.0 Basics 0 February 23rd, 2007 08:18 AM
How to encode query string gurudatta_shelke General .NET 0 August 1st, 2006 05:55 AM
Query String Baby_programmer ASP.NET 1.0 and 1.1 Basics 3 December 24th, 2004 11:14 AM
Query String not working!!!!!!! cmiller Beginning PHP 1 December 16th, 2003 12:30 PM





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