eXtropia: the open web technology company
Technology | Support | Tutorials | Development | About Us | Users | Contact Us
Development resources
 ::   WebWare 2.1 (Perl)
 ::   WebWare 2.0 (Java)
 ::   Cool hacks
radical hacks
WebBBS File Attachment Enhancements  
sent in this cool hack to help with store security across multiple servers....

After trying all the suggestions found here [on the discusion forum] (without success) I decided to try to fix this problem on my own. So here it is and it works! It's fairly simple.

  1. First make sure $sc_order_script_url points to your secure script location (on my server it's the same one with a different url)
  2. open the web_store_html_lib.pl and change ALL footer routines to include the two chunks of code as in the example below (I've also included an original so you can see the difference). You'll need to remove the comments so they don't show up on your page.

ORIGINAL SUBROUTINE
##################################################
sub modify_form_footer
  {
  print qq!
  <P>           
  <INPUT TYPE = "submit" NAME = "submit_change_quantity_button"
         VALUE = "Submit Quantity Changes">
  <INPUT TYPE = "submit" NAME = "continue_shopping_button"
         VALUE = "Continue Shopping">
  $sc_no_frames_button
  <INPUT TYPE = "submit" NAME = "order_form_button" 
         VALUE = "Checkout Stand">
  </FORM>
  </CENTER>
  </BODY>
  </HTML>!;
  }
####################################################

HACKED VERSION
####################################################
sub modify_form_footer
  {
                
########## secure order workaround part1 start ######
                
local ($hidden_fields) = &make_hidden_fields;

########## secure order workaround part1 end ######             

  print qq!
  <P>           
  <INPUT TYPE = "submit" NAME = "submit_change_quantity_button"
         VALUE = "Submit Quantity Changes">
  <INPUT TYPE = "submit" NAME = "continue_shopping_button"
         VALUE = "Continue Shopping">
  $sc_no_frames_button
  </FORM>
  
####### secure order workaround part2 start #####
  <BR>
    <FORM METHOD = "post" ACTION = "$sc_order_script_url">
  $hidden_fields
    <INPUT TYPE = "submit" NAME = "order_form_button" 
         VALUE = "Secure Checkout Stand">
          </FORM>
####### secure order workaround part2 end #####

 
  </CENTER>
  </BODY>
  </HTML>!;
  }
#################################################

Just place those two chunks in ALL page footers (but not the display table footer) and you are ready to go. good luck!