I finally figured out what was happening. I use Mod-Rewrite from MicroNovae to handle url rewriting so that I don't have index.cfm in the url, and it was causing every event to be submitted twice.
# Redirects to avoid index.cfm RewriteRule ^(fr|en)/(.*)$ /index.cfm/$1/$2 [NC,L] I was able to get it to work properly by reinstalling the module as a legacy ISAPI filter. This is one of the install options. I'm on Windows Server 2008 but I don't know if that made a difference. Thanks for the help. -- Olivier Bridgeman On Thursday, 24 January 2013 14:13:21 UTC-5, Dan Wilson - [email protected] wrote: > > Glad to hear it. > > We strive to be a rapid development framework, but not so rapid as to > execute your events twice :) > > > DW > > olivierb <javascript:> > Thursday, January 24, 2013 1:08 PM > OK, so I pared down my application to a single event and removed all the > model and controller code and now the actions are not duplicated. So I will > put code back in and see when it start duplicating actions again. > > Thanks for the tip. I'll post a reply if I figure out where the issue is, > if it can help someone else. > -- > Olivier Bridgeman > > On Thursday, 24 January 2013 08:53:06 UTC-5, Dan Wilson - > [email protected] <javascript:> wrote: > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" group. > To post to this group, send email to [email protected]<javascript:> > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > Dan Wilson <javascript:> > Thursday, January 24, 2013 8:53 AM > Ok... > > What I can guess: > Since this is happening in Chrome and Firefox, it is unlikely this is a > client side browser plugin running. > > What I don't know: > Anything else. > > > Have you looked at the Model Glue debug output to see what is happening? > You might need to pare down your application into a replicatable test case > for me to have a better look at. Can you strip everything down to a single > event and send me the files? > > > DW > > olivierb <javascript:> > Wednesday, January 23, 2013 10:53 PM > Because I have a test page that increments a session variable by 1. Every > time I call that page, the session variable increases by 2. > And I can tell that the 2nd time is happening "behind the scenes" because > I dump the session variable. > > -- > Olivier Bridgeman > > On Wednesday, 23 January 2013 15:53:21 UTC-5, Dan Wilson - > [email protected] <javascript:> wrote: > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" group. > To post to this group, send email to [email protected]<javascript:> > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > Dan Wilson <javascript:> > Wednesday, January 23, 2013 3:53 PM > How do you know the page action is run two times? > > DW > > olivierb wrote: > olivierb <javascript:> > Wednesday, January 23, 2013 3:48 PM > OK, I still need help with debugging this issue. Just so I'm clear, it > seems that every page action is run two times. My browser shows the result > after the first run, and then the action is run a second time in the > background. > > What I've tried so far: > 1) I've tried to restart CF and then start the application with ?init=me > as per http://docs.model-glue.com/ticket/404. This does not help. > 2) I'm using Model-Glue 3. I tried running the application with Model-Glue > 3.1.299. I still get the same error. > 3) I tried running the app in Firefox and in Chrome, in case there was a > plugin running. I still get the same error. > > Can anyone suggest where else to look? > > -- > Olivier Bridgeman > > On Thursday, 6 December 2012 17:24:04 UTC-5, JR wrote: -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" group. > To post to this group, send email to [email protected]<javascript:> > To unsubscribe from this group, send email to > [email protected] <javascript:> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > > -- -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" 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/model-glue?hl=en --- You received this message because you are subscribed to the Google Groups "model-glue" group. To unsubscribe from this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
