Click here to Skip to main content
15,900,907 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Apache serving files with query strings in their name Pin
Paul Watson19-Jan-07 3:31
sitebuilderPaul Watson19-Jan-07 3:31 
GeneralRe: Apache serving files with query strings in their name Pin
Bradml19-Jan-07 4:30
Bradml19-Jan-07 4:30 
QuestionLooking for website that does crazy things with JavaScript Pin
Joe Woodbury18-Jan-07 5:24
professionalJoe Woodbury18-Jan-07 5:24 
AnswerRe: Looking for website that does crazy things with JavaScript Pin
MatrixCoder18-Jan-07 6:07
MatrixCoder18-Jan-07 6:07 
AnswerRe: Looking for website that does crazy things with JavaScript Pin
David Domingues26-Jan-07 3:14
David Domingues26-Jan-07 3:14 
QuestionRequest Object - # character in the QueryString Pin
Member 121430017-Jan-07 18:11
Member 121430017-Jan-07 18:11 
AnswerRe: Request Object - # character in the QueryString Pin
Bradml17-Jan-07 18:47
Bradml17-Jan-07 18:47 
AnswerRe: Request Object - # character in the QueryString Pin
Guffa17-Jan-07 20:06
Guffa17-Jan-07 20:06 
The problem is what Brad suspected. You haven't url encoded the url properly. Also, you haven't html encoded the property either.

Your code should look like this:

href="TestCharacterForm2.aspx?Address=Apt%23123&Address2=Chicago"

Note that the # character is url encoded into %23, and that the & character is html encoded into &

If you are writing the values in the querystring from server code, use the methods Server.UrlEncode to encode the query string values, and Server.HtmlEncode to encode the entire property value.

---
Year happy = new Year(2007);

GeneralRe: Request Object - # character in the QueryString Pin
Bradml18-Jan-07 0:49
Bradml18-Jan-07 0:49 
GeneralRe: Request Object - # character in the QueryString Pin
Guffa18-Jan-07 4:52
Guffa18-Jan-07 4:52 
GeneralRe: Request Object - # character in the QueryString Pin
Bradml18-Jan-07 4:55
Bradml18-Jan-07 4:55 
Questionhttp to https redirect question Pin
Joe Woodbury17-Jan-07 13:41
professionalJoe Woodbury17-Jan-07 13:41 
AnswerRe: http to https redirect question Pin
Bradml17-Jan-07 15:07
Bradml17-Jan-07 15:07 
QuestionNeed to Display Weather Content Set - Please Help Pin
mtrappett17-Jan-07 6:32
mtrappett17-Jan-07 6:32 
AnswerRe: Need to Display Weather Content Set - Please Help Pin
Bradml17-Jan-07 15:03
Bradml17-Jan-07 15:03 
GeneralRe: Need to Display Weather Content Set - Please Help Pin
mtrappett18-Jan-07 5:36
mtrappett18-Jan-07 5:36 
GeneralRe: Need to Display Weather Content Set - Please Help Pin
Bradml18-Jan-07 13:47
Bradml18-Jan-07 13:47 
QuestionPreload embedded ActiveX Control Pin
chuchichäschtli17-Jan-07 2:34
chuchichäschtli17-Jan-07 2:34 
Questionunique visitor counter Pin
Eric Georgiades17-Jan-07 2:18
Eric Georgiades17-Jan-07 2:18 
AnswerRe: unique visitor counter Pin
Bradml17-Jan-07 4:29
Bradml17-Jan-07 4:29 
AnswerRe: unique visitor counter Pin
Bradml17-Jan-07 4:30
Bradml17-Jan-07 4:30 
GeneralRe: unique visitor counter Pin
Eric Georgiades17-Jan-07 5:04
Eric Georgiades17-Jan-07 5:04 
GeneralRe: unique visitor counter Pin
Bradml17-Jan-07 5:10
Bradml17-Jan-07 5:10 
GeneralRe: unique visitor counter Pin
Eric Georgiades17-Jan-07 7:16
Eric Georgiades17-Jan-07 7:16 
GeneralRe: unique visitor counter Pin
Bradml17-Jan-07 15:00
Bradml17-Jan-07 15:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.