Please ignore my last post. It's not a caching issue, and now for some reason my solution is not working, in neither Firefox or IE.
I don't have a CLUE what is going on. I reduced the form and everything down to try and locate the problem-> here's my code of the view and test action: http://bin.cakephp.org/view/2133448453 . It takes several form submissions, but eventually the $_POST variable will be empty after a submission. On my login form, it happens on the second submission every time. After the $_POST variable is not populated, subsequent submissions will result in an $_POST as well. I have print_r($_POST) in my webroot index.php so that's how I know whether or not it's empty. Any help is greatly appreciated. Thanks, Jon On Sep 23, 2:23 pm, Jon Hinson <[EMAIL PROTECTED]> wrote: > I just figured it out. It is indeed a caching problem, but with > Firefox. The issue goes away when using IE. For now, I solved it by > adding rand() to my form action to produce a random URL so Firefox > doesn't cache the page. If anyone can think of a better solution than > this, please let me know. > > Thanks, > Jon > > On Sep 23, 8:35 am, francky06l <[EMAIL PROTECTED]> wrote: > > > caching problem maybe (view) ? > > > On Sep 22, 8:29 pm, Jon Hinson <[EMAIL PROTECTED]> wrote: > > > > Hello, this is happening on all of my forms, but I will use my login > > > form as the example. I will type in incorrect login information so my > > > error message comes up and then I will type in incorrect login > > > information a second time. Instead of the error message coming up > > > again, my /users/login page is just as if I had just type that in to > > > the address bar for the first time. I put some code in my login action > > > to echo "no post" if $this->data was empy, and on the second > > > submission it is in fact empty. If I wait around 15 seconds between > > > submissions, then the data is posted once again. > > > > Here is my code:http://bin.cakephp.org/view/1897510959 > > > > Please let me know what I am doing wrong or what I can do to fix this. > > > > Thanks, > > > Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
