PHP javascript issues on new windows 2008 server

One of our sites was recently moved from a windows 2003 server to a new 2008 server. We have a custom built “shopping cart” built in PHP. It has a function that when you add a quantity from a dropdown to one of the products, it does a javascript call to itself to update an order summary section near the bottom of the page. This function was working on the 2003 server. However, on the 2008 server, it only does about the first 4 products, and then stops updating. At first, it looked like URLScan was the culprit, and JH fixed that portion. However it’s still not working. One strange thing I noticed in the log files was that each update that works returns a 200 response. After 4 successful updates (essentially adding 4 products to the cart), it then begins giving 404 responses and no longer updates that section. Has anyone else that’s running PHP on 2008 servers run into this? I’ve been working on this with JH support for over a week now (since the move to the new server), and we aren’t getting anywhere. And unfortunately, because of how our coders made this page, I can’t just put the site on a linux server (long story short, it used to be a basic FrontPage site that the site owner put together, and our coders got lazy left a bunch of the PHP type calls in to make the cart page look the same as the rest of the site).. So I’d have to have them completely re-code it if I were to put it on another server, which would cost us a good amount of money.

Any help would be greatly appreciated!

ok I am following better now, actually prepped all day to do some tailgating at a college football game and replied initially from phone which messed up the formatting and made me think I saw something I did not…

I am tryin to check it fro laptop quickly but this is an odd one, URLSCan is NOT the cause of 404’s now it is something else…as you noted.

Should be set now.

FYI for all, the problem was adding to url length made it hit IIS 7.5 limits on length of url, we expanded that and it worked till almost enough, then expanded it a bit more and it was set. We will do this on a per domain level as it can really prevent a lot of sql injections and the like from making big problems.

So what’s the default URL length now?

Thank you for your help Stephen. I think in the future, we’ll try to stick with using a real shopping cart package instead of a custom built one like this..

Bro, the default is I believe 2048 chars then it will generate a 404 error, in this case each product added added additional chars and the url length got incredibly long. I think the limit on this domain level is 10480 now (I don’t have server open but it is something like that)

Ok, 200o characters is way more than enough to accomplish anything I would want to do… good to know.