I have an old Classic ASP code such as:
<html>
<head></head>
<body>
<form action="test.asp" method="post" name="fname">
<select name="clients" size="3" multiple="multiple">
<option value="5311" selected="selected">5311</option>
<option value="9999" selected="selected">9999</option>
</select>
<input type="submit" value="test">
</form>
<%
dim clients
clients=Request.Form("clients")
Response.Write(clients)
%>
</body>
</html>
This outputs 5311, 9999 from the Request.Form object
If I put the same HTML in an ASP.Net app and read the Request.Form object it outputs 5311,9999.
Spot the difference, there is a space between the two.
Why is that? Is there a way I change it so it includes the space?
Thanks