Click here to Skip to main content
15,742,231 members

Comments by sergiogarcianinja (Top 2 by date)

sergiogarcianinja 24-Jan-12 18:49pm View    
Just a note, MaxHttpCollection was changed to be 1000 in a Update released by Microsoft in Dec 29th 2011 to address the issue with Hash Collision DoS attack.

Be really careful in changing this setting.

I posted about it in my blog:[^].
sergiogarcianinja 7-Feb-11 9:49am View    
I think that you have some problems with you code.

First, if condition1 has true (a success, I can presume), condition2 will not be checked.

If condition1 and condition2 are false (not success) then your code will set bFailed as false, indicating a success.

Maybe your idea is to throw exception on errors, and as others alternatives I think that is not a good practice at all.