[thelist] ASP Replace Spaces in URLs

Anthony Baratta Anthony at Baratta.com
Tue Dec 18 14:59:01 CST 2001


At 12:49 PM 12/18/2001, you wrote:

>What I want to do is replace the spaces so that when the URL string gets
>built and passed to the printable page, the spaces are there.

Have you tried the Server.URLEncode function??

         giver = Server.URLEncode(giver)

Another option is to use a form and hidden fields with a submit image or 
Javascript submit on the HREF. I always try to avoid sending more than two 
fields of information via the QueryString.
---
Anthony Baratta
President
Keyboard Jockeys

"Conformity is the refuge of the unimaginative."





More information about the thelist mailing list