[Catalyst] How to detect if the current form request is a post?

kakimoto at tpg.com.au kakimoto at tpg.com.au
Wed Apr 1 11:41:55 BST 2009


huh? 

 I woudlnt' use GET unless it's for something very simple such as a REST
request or a way to learn CGI.
 
I certainly dont want people book marking a url with parameters 
especially if i ran a banking transaction website.

Quoting Octavian Rasnita <orasnita at gmail.com>:

> From: <kakimoto at tpg.com.au>
> > Thank you:)
> > Yep, and I am aware of GET as a form request method and yes, i hate
> it.
> 
> Why? I knew that it should be the prefered method for the forms that
> don't 
> change anything on the server, like a search form. Isn't this true?
> 
> I ask this because I've seen many search forms that use POST and it
> is 
> impossible to bookmark the found pages, or also seen forms that use 
> Javascript with POST.
> 
> Octavian
> 
> 
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
> 
> 
> 






More information about the Catalyst mailing list