Strange query string behavior

  • Thread starter Thread starter Chad
  • Start date Start date
C

Chad

This question is one of pure curiosity. Clearly the url is incorrectly
formatted, but the funny is most of the time it works. Occasionally it
does not work. By not work I mean does not call page load. By work I
mean calls page load.

Sample failing url
sample.aspx?a=ON=

Sample working url
sample.aspx?a=ab=

Clearly the extra = is a problem, but why does page load only get
called some of the time? I am assuming this is because the query string
parser sometimes fails, but that really doesn't make a lot of sense.
 
Chad,
I'd be more concerned with having valid QueryStrings than focusing on why
things work or don't work when you don't have one! Just my 2 cents.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top