I have a field where a user enters data and I store this value in a session variable. On the originating page I have the session variable as the source for the field:
value = <%="'"&Session("PastCoName1"&"'"%>
The single quote solved the problem with spaces but my problem is now with apostrophies. If someone enters a name with an apostrophy into the original field, the value with the apostrophy will store into the session variable but does not place back into the field, I get everything up to the apostrophy. Unfortunately I do not have the option of disallowing apostrophies since this is a compnay name field.
Thanks in advance
Eric
value = <%="'"&Session("PastCoName1"&"'"%>
The single quote solved the problem with spaces but my problem is now with apostrophies. If someone enters a name with an apostrophy into the original field, the value with the apostrophy will store into the session variable but does not place back into the field, I get everything up to the apostrophy. Unfortunately I do not have the option of disallowing apostrophies since this is a compnay name field.
Thanks in advance
Eric