p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   VBScript (http://p2p.wrox.com/forumdisplay.php?f=77)
-   -   Query String (http://p2p.wrox.com/showthread.php?t=22623)

Nitin_sharma December 15th, 2004 06:17 AM

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.

s_m_b December 16th, 2004 07:58 AM

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?

All times are GMT -4. The time now is 06:24 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.