| Posted by Martin on 06/13/48 12:00 
Is there a simple way to tell if a page was submitted as a POST or aGET?
 
 I have a page that contains a form with multiple submit buttons. If
 the page is POSTed, I go through a somewhat complex analysis of what
 needs to be done depending on which button was clicked.
 
 On the other hand, if the page was submitted via GET, I simply set
 some default values and send it out. I'd like to be able to do this
 without having to look for every button only to find out that none
 were submitted.
  Navigation: [Reply to this message] |