Click to See Complete Forum and Search --> : simple asp question?


demiurgen
04-24-2006, 06:51 AM
what does this code do?

<a href="Ladix.asp?order=<%= Server.URLEncode("Charging voltage (VDC)") %>">Charging voltage (VDC):</a>

i mean the "Server.URLEncode" thing...?

Drummer_si
04-24-2006, 06:57 AM
Server.URLEncode basically encodes the selected text in order for in to be send successfully across the net. It's main function is to strip out all of the spaces (and other illegal characters) that may cause problems in some browsers.

Standard String:
"This is a test"

URL Encoded string:
"This+is+a+test"

Terrorke
04-24-2006, 12:11 PM
it gives a link tag with a querystring variable order