PDA

View Full Version : Handling Spaces in Strings


admin
05-28-2003, 10:47 PM
Netscape sometimes has problems handling strings with a space in it when using the Response.Redirect method. To overcome this problem use the Server.URLEncode("variable name") with the string.

strField = Server.URLEncode(strField)
Response.Redirect("yourpage.asp?Field=strField")