Hey guys,

I have a webpage, where some content is loaded when the page is loaded, and
the other action is performed when the submit button is hit...
the code behind in the action is

if($this->getRequest()->isMethod('post')) {
echo "hello"   ;           // *for testing purposes*

}

When the page loads  (it is a redirect from another page
$this->redirect(modules/currentpage)). However, at this point, it does get
into the above *if condition*, which clearly means that it understands this
as a post, since it echoes out "hello". Now this should not happen, since
the post occurs only when the 'SUBMIT' button is hit, and not when the  page
loads itself.

anyone have a clue of what is going wrong here?

Thanks a lot!'

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to