Cart sometimes won't show up

Hi, Experts! I created a web page last week at the url given. It works for me everytime, but my boss occasionally gets a "Page Not Found". The form it uses sends the user to /cgi/cart.cgi. The same thing the menu page does, menu/menu.html.  

The difference I see is that when you add from my new page, the meal picker, the resulting URL says:
cgi/cart.cgi?cmd=add;cartlno=109;cartlno=110;cartlno=111;cartlno=112;cartlno=113;cartlno=114;cartlno=115;cartlno=116;cartlno=1;cartlno=2;cartlno=3;cartlno=4;cartlno=5;cartlno=6;cartlno=9;cartlno=10;cartlno=11;cartlno=12;cartlno=13;cartlno=14;cartlno=15;cartlno=16;cartlno=17;cartlno=18;cartlno=19;cartlno=20;cartlno=21;cartlno=22;cartlno=23;cartlno=24;cartlno=25;cartlno=26;cartlno=27;cartlno=28;cartlno=29;cartlno=30;cartlno=31;cartlno=32;cartlno=33;cartlno=34;cartlno=35;cartlno=36;cartlno=37;cartlno=38;cartlno=39;cartlno=40;cartlno=41;cartlno=42;cartlno=43;cartlno=44;cartlno=45;cartlno=46;cartlno=47;cartlno=48;cartlno=49;cartlno=50;cartlno=51;cartlno=52;cartlno=53;cartlno=54;cartlno=55;cartlno=56;cartlno=57;cartlno=58;cartlno=59;cartlno=60;cartlno=61;cartlno=62;cartlno=63;cartlno=64;cartlno=65;cartlno=66;cartlno=67;cartlno=68;cartlno=69;cartlno=70;cartlno=71;cartlno=72;cartlno=73;cartlno=74;cartlno=75;cartlno=76;cartlno=78;cartlno=79;cartlno=80;cartlno=81;cartlno=82;cartlno=83;cartlno=85;cartlno=86;cartlno=87;cartlno=88;cartlno=89;cartlno=90;cartlno=91;cartlno=92;cartlno=93;cartlno=94;cartlno=95;cartlno=96;cartlno=97;cartlno=98;cartlno=99;cartlno=100;cartlno=101;cartlno=102;cartlno=123%2F;cartlno=77;cartlno=104;cartlno=105;cartlno=106;cartlno=107;cartlno=108;sku_109=7301-2;qty_109=0;sku_110=7301-4;qty_110=0;sku_111=7303-2;qty_111=0;sku_112=7303-4;qty_112=0;sku_113=7305-2;qty_113=0;sku_114=7305-4;qty_114=0;sku_115=7302-2;qty_115=0;sku_116=7302-4;qty_116=1;sku_1=7127-2;qty_1=0;sku_2=7127-4;qty_2=0;sku_3=7126-2;qty_3=0;sku_4=7126-4;qty_4=0;sku_5=7111-2;qty_5=0;sku_6=7111-4;qty_6=0;sku_9=7114-2;qty_9=0;sku_10=7114-4;qty_10=0;sku_11=7214-2;qty_11=0;sku_12=7214-4;qty_12=0;sku_13=7107-2;qty_13=0;sku_14=7107-4;qty_14=0;sku_15=7103-2;qty_15=0;sku_16=7103-4;qty_16=0;sku_17=7121-2;qty_17=0;sku_18=7121-4;qty_18=0;sku_19=7117-2;qty_19=0;sku_20=7117-4;qty_20=0;sku_21=7125-2;qty_21=0;sku_22=7125-4;qty_22=0;sku_23=7123-2;qty_23=1;sku_24=7123-4;qty_24=0;sku_25=7104-2;qty_25=0;sku_26=7104-4;qty_26=0;sku_27=7119-2;qty_27=0;sku_28=7119-4;qty_28=0;sku_29=7120-2;qty_29=0;sku_30=7120-4;qty_30=0;sku_31=7106-2;qty_31=0;sku_32=7106-4;qty_32=0;sku_33=7101-2;qty_33=0;sku_34=7101-4;qty_34=0;sku_35=7105-2;qty_35=0;sku_36=7105-4;qty_36=0;sku_37=7110-2;qty_37=0;sku_38=7110-4;qty_38=0;sku_39=7109-2;qty_39=0;sku_40=7109-4;qty_40=0;sku_41=7108-2;qty_41=0;sku_42=7108-4;qty_42=0;sku_43=7118-2;qty_43=0;sku_44=7118-4;qty_44=0;sku_45=7113-2;qty_45=0;sku_46=7113-4;qty_46=0;sku_47=7128-2;qty_47=1;sku_48=7128-4;qty_48=0;sku_49=7112-2;qty_49=0;sku_50=7112-4;qty_50=0;sku_51=7122-2;qty_51=0;sku_52=7122-4;qty_52=0;sku_53=7124-2;qty_53=0;sku_54=7124-4;qty_54=0;sku_55=7602-2;qty_55=0;sku_56=7602-4;qty_56=0;sku_57=7604-2;qty_57=0;sku_58=7604-4;qty_58=0;sku_59=7606-2;qty_59=0;sku_60=7606-4;qty_60=0;sku_61=7607-2;qty_61=0;sku_62=7607-4;qty_62=0;sku_63=7603-2;qty_63=0;sku_64=7603-4;qty_64=3;sku_65=7601-2;qty_65=0;sku_66=7601-4;qty_66=0;sku_67=7210-2;qty_67=0;sku_68=7210-4;qty_68=0;sku_69=7211-2;qty_69=0;sku_70=7211-4;qty_70=0;sku_71=7212-2;qty_71=0;sku_72=7212-4;qty_72=0;sku_73=7217-2;qty_73=0;sku_74=7217-4;qty_74=0;sku_75=7216-2;qty_75=0;sku_76=7216-4;qty_76=0;sku_78=7206-2;qty_78=0;sku_79=7206-4;qty_79=0;sku_80=7202-2;qty_80=0;sku_81=7202-4;qty_81=0;sku_82=7215-2;qty_82=3;sku_83=7215-4;qty_83=0;sku_85=7201-2;qty_85=0;sku_86=7201-4;qty_86=0;sku_87=7209-2;qty_87=0;sku_88=7209-4;qty_88=0;sku_89=7203-2;qty_89=0;sku_90=7203-4;qty_90=0;sku_91=7218-2;qty_91=0;sku_92=7218-4;qty_92=0;sku_93=7204-2;qty_93=0;sku_94=7204-4;qty_94=0;sku_95=7306-2;qty_95=0;sku_96=7306-4;qty_96=0;sku_97=7308-2;qty_97=0;sku_98=7308-4;qty_98=0;sku_99=7309-2;qty_99=0;sku_100=7309-4;qty_100=0;sku_101=7307-2;qty_101=0;sku_102=7307-4;qty_102=0;sku_123=7304-4;qty_123=0;sku_77=7310-2;qty_77=0;sku_104=7310-4;qty_104=0;sku_105=7311-2;qty_105=0;sku_106=7311-4;qty_106=0;sku_107=7312-2;qty_107=0;sku_108=7312-4;qty_108=0;btn=Add%20to%20Cart;_cookiecheck=1
so it is looking at every single option and adding it to the cart. I guess that's probably the problem, maybe I'll have to dismiss this idea.

When my boss gets the "not found page", he says the url points to cgi/cart.cgi.

I don't have any access to the database or the code behind this, I'm just trying to create a different way for customers to purchase. Any ideas or advice? Thanks!
mel200Asked:
Who is Participating?
 
ahoffmannConnect With a Mentor Commented:
your path in the URL is more than 2kb which violates RFC standards.
Some browsers (mainly IE) do not allow this and/or cut the length unattended, also the server may restrict the GET (which seems not to be tha case 'xause it works from another browser).

Change your GET to a POST request.
0
 
mel200Author Commented:
you are amazing, thanks so much! I'll do that and then award points immediately.
0
 
mel200Author Commented:
Darn, I did that, this is from view>source:
<form method="get"  action="/cgi/cart.cgi">
        <input type="hidden" name="cmd" value="add" />

And I still get the long, long url. Any other thoughts? Thanks, I appreciate your time. If I have to dump this idea, I will, but I'd sure like to see it work. :)
0
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

 
ahoffmannCommented:
you need to change method=get to method=post
0
 
mel200Author Commented:
hmm.. sorry, I was confused. It was a post, and I changed it to a get, obviously I didn't read your post correctly. But just now I changed it to a post, and now it seems to be working.  So clearly you are a genius. :)
0
 
ahoffmannCommented:
glad to have helped you,
technically the answer could have been like:
  s/method="?get"?/method="?post"?/i
but that is most likely not understandable by most people ;-)

KISS - keep it simple stupid
0
 
mel200Author Commented:
For me, that is much the best rule. :) thanks again.
0
All Courses

From novice to tech pro — start learning today.