how to encode [email protected] in query string

  • Thread starter Thread starter tony collier
  • Start date Start date
T

tony collier

I have

String [email protected];


where (e-mail address removed) can be user input and will vary, so i have another
string.

scrapesite="www.webpage.com?email"+Email;


when i point my scrape routine at this it fails with bad email address
which must be due to the @ between bill and ben not encoding properly. I
am sure this is simple to fix but have so far had no luck finding the right
info. Please help!
 
Tony, I'm not sure about that problem, but you could use a Session variable
to store it Session("EmailAddress") = (e-mail address removed) and then use it that way.
 
Back
Top