[thelist] ASP: help with forms and ampersand
Scott Dexter
sgd at ti3.com
Sat Oct 21 19:17:02 CDT 2000
> -----Original Message-----
> From: Michael Galvin [mailto:mpgalvin at eircom.net]
> Now, being clever, I decided to create a variable which
> consisted of the
> previous form's field names with their passed values, so
> "name=Michael&address=Dublin&..." etc. I tacked this on to
> the name of the
> page I was redirecting to. Worked like a charm, but this is
> just recreating
> the function of a GET. My problem with the ampersands is back!
>
use Server.URLEncode(str) before you add it onto the end of a url, and your
ampersand problems (or spaces, or semicolons, or whatever) will magically
disappear =)
sgd
--
work: http://www.ti3.com/
non: http://thinksafely.org/
More information about the thelist
mailing list