Re: Form data not being posted ( $_POST not being populated ) after first submission - Driving me INSANE
FF2 and WinXP here, and it is working fine - repeated submits (new or same data) always comes through. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Form data not being posted ( $_POST not being populated ) after first submission - Driving me INSANE
Hi Jon Just quick status report: I have just tried with FF 2 on winXP. If I disable the browser cache it is working fine, if the browser cache is enabled only the first post goes through, all the others not. Unfortunately I don't know why though - my forms have a similar setup and work just fine (without having to set any cache headers or so). Maybe you could post the relevant part of your controller? Claudia Jon Hinson wrote: > I'm not sure what the trick is. I tried sticking Equiv="Pragma" Content="no-cache"> in my , adding the hidden > field with a random value, and adding a random number as a parameter > to the end of my URL. I'm still getting the same outcome. What's > weird, even if $_POST isn't being populated, I can refresh Firefox, > and the popup box that says "The page you are trying to view contains > POSTDATA" comes up. So it has been posted to, but I think $this-data > is not being populated by cake for some reason. If we can somehow find > out why $this->data is not being populated, we can get to the bottom > of this. > > Jon > > On Sep 26, 5:56 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > Okay, I tried using Galeon a few more times. > > > > 1) Enter "abc" / "def" > > 2) Submit > > 3) Page draws with post > > 4) Sumbit again. > > 5) Page draws with no post (clears fields) > > 6) Enter "abc" / "def" > > 7) Submit > > 8) Page draws with post > > 9) add "d" to the end of "abc" > > 10) Submit again > > 11) Page draws with post > > > > So maybe it is a cache thing. maybe try the trick > > > > And if all else fails try sticking this: > > > > > > hidden('User/random', random()) ?> > > > > in your form. As that should change every time. > > > > Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Form data not being posted ( $_POST not being populated ) after first submission - Driving me INSANE
I'm not sure what the trick is. I tried sticking in my , adding the hidden field with a random value, and adding a random number as a parameter to the end of my URL. I'm still getting the same outcome. What's weird, even if $_POST isn't being populated, I can refresh Firefox, and the popup box that says "The page you are trying to view contains POSTDATA" comes up. So it has been posted to, but I think $this-data is not being populated by cake for some reason. If we can somehow find out why $this->data is not being populated, we can get to the bottom of this. Jon On Sep 26, 5:56 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Okay, I tried using Galeon a few more times. > > 1) Enter "abc" / "def" > 2) Submit > 3) Page draws with post > 4) Sumbit again. > 5) Page draws with no post (clears fields) > 6) Enter "abc" / "def" > 7) Submit > 8) Page draws with post > 9) add "d" to the end of "abc" > 10) Submit again > 11) Page draws with post > > So maybe it is a cache thing. maybe try the trick > > And if all else fails try sticking this: > > > hidden('User/random', random()) ?> > > in your form. As that should change every time. > > Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Form data not being posted ( $_POST not being populated ) after first submission - Driving me INSANE
Okay, I tried using Galeon a few more times. 1) Enter "abc" / "def" 2) Submit 3) Page draws with post 4) Sumbit again. 5) Page draws with no post (clears fields) 6) Enter "abc" / "def" 7) Submit 8) Page draws with post 9) add "d" to the end of "abc" 10) Submit again 11) Page draws with post So maybe it is a cache thing. maybe try the trick And if all else fails try sticking this: hidden('User/random', random()) ?> in your form. As that should change every time. Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Form data not being posted ( $_POST not being populated ) after first submission - Driving me INSANE
Jeff, Thanks for taking your time to help with this. So it's definitely browser based. Could it be a caching issue maybe? Jon On Sep 26, 5:24 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I typed garbage in the form like 8 times. I just went back and did it > like 8 more times and barring some errors the first time (session > expired stuff) it still works like a charm... > > I used firefox 1.5 on mandrivia 10.2 linux. works without a hitch.. > > However, I just tried it on Galeon and got your 2nd submission POST > death. > > Wierd. > > Jeff > > On Sep 26, 3:59 pm, Jon Hinson <[EMAIL PROTECTED]> wrote: > > > How many times did you try submitting the form? This is very odd. What > > browser are you using? I tried to reproduce the problem on my iPhone > > using Safari, and it took many more submittions, but out of about 20 > > submittions, $_POST was not populated 3 times. I know that doesn't > > sound like much, but when it's almost EVERY time after the second > > submission with IE 6 and Firefox, it's very frustrating and I want to > > know what I'm doing wrong. > > > On Sep 26, 4:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > > >From what I can tell Jon, $_POST populated as expected. > > > > It was only empty when I loaded the page the first time. > > > > Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Form data not being posted ( $_POST not being populated ) after first submission - Driving me INSANE
I typed garbage in the form like 8 times. I just went back and did it like 8 more times and barring some errors the first time (session expired stuff) it still works like a charm... I used firefox 1.5 on mandrivia 10.2 linux. works without a hitch.. However, I just tried it on Galeon and got your 2nd submission POST death. Wierd. Jeff On Sep 26, 3:59 pm, Jon Hinson <[EMAIL PROTECTED]> wrote: > How many times did you try submitting the form? This is very odd. What > browser are you using? I tried to reproduce the problem on my iPhone > using Safari, and it took many more submittions, but out of about 20 > submittions, $_POST was not populated 3 times. I know that doesn't > sound like much, but when it's almost EVERY time after the second > submission with IE 6 and Firefox, it's very frustrating and I want to > know what I'm doing wrong. > > On Sep 26, 4:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > >From what I can tell Jon, $_POST populated as expected. > > > It was only empty when I loaded the page the first time. > > > Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Form data not being posted ( $_POST not being populated ) after first submission - Driving me INSANE
How many times did you try submitting the form? This is very odd. What browser are you using? I tried to reproduce the problem on my iPhone using Safari, and it took many more submittions, but out of about 20 submittions, $_POST was not populated 3 times. I know that doesn't sound like much, but when it's almost EVERY time after the second submission with IE 6 and Firefox, it's very frustrating and I want to know what I'm doing wrong. On Sep 26, 4:30 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > >From what I can tell Jon, $_POST populated as expected. > > It was only empty when I loaded the page the first time. > > Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Form data not being posted ( $_POST not being populated ) after first submission - Driving me INSANE
>From what I can tell Jon, $_POST populated as expected. It was only empty when I loaded the page the first time. Jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Form data not being posted ( $_POST not being populated ) after first submission - Driving me INSANE
When I try to submit any forms multiple times in a row(if I've entered incorrect login information, for example), after the first or second submission, it's as if I just loaded the page without my form posting. I broke my code down to simplify it and try to find the problem, but I'm having no luck. Here's my code-http://bin.cakephp.org/view/ 1897510959, and here's the page to test it out- http://psytherium.com/users/login . Let me know if the data submits for you after the first few times(you can put anything in). I've tested it in both Firefox and IE 6. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---