how to use urlencode in asp and asp.net
Posted on 2009-12-25
In my asp.net registration page, I use Server.UrlEncode(TextEmail.Text) to store the email address. In the 'forgot my password', which is written in asp, i use Server.UrlEncode(TextEmail.Text) to retrieve the email address. But they don't match.
The first page stores bbb%40b.com when the user registers (asp.net)
The asp page requests the account for the email address 'bbb%40bbb%2Ecom (asp)
Same exact email address entered (firstname.lastname@example.org)
How can i resolve this?