Re: How to tell GET from POST method ni CGI.pm?

2011-05-15 Thread Randolf Richardson
> I am beginning to work on hardening my website against cross site request > forgeries. I use CGI.pm. > > My question is, how can I tell, using CGI.pm, if this webpage was invoked > with a GET or POST method? You're probably intersted in: $q->request_method It should also be a

How to tell GET from POST method ni CGI.pm?

2011-05-15 Thread Igor Chudov
I am beginning to work on hardening my website against cross site request forgeries. I use CGI.pm. My question is, how can I tell, using CGI.pm, if this webpage was invoked with a GET or POST method? Thanks