By the "blocks of code that fires on the submit back to the page", let's be
clear: do you mean something on a CFM page? That is called as the ACTION of
the form? And is there any code on that page that might be set to run
differently based on what the current cgi.request_method value is? If so,
you'd want to do it in code that runs if the request_method is "post".
Finally, another easy mistake to make is that the FORM you are submitting
may not have Method="post". In that case, it defaults to Method="get", and
you may therefore be processing the page differently because of that.

If that doesn't help, share some more info and perhaps we can help.

 

/charlie

 

From: [email protected] [mailto:[email protected]] On Behalf Of Matthew
Nicholson
Sent: Thursday, April 28, 2011 6:46 PM
To: [email protected]
Subject: [ACFUG Discuss] CF Submits & Function Behavior

 

Evening All!

 

So, I'm trying to make my life a little bit easier with an auditing module
on this application. 

 

I'm a little be confused though with a behavior I'm experiencing on a submit
post back to the page. (The user clicks a buttons and we reload the page and
perform a bunch of logic.) 

 

Here's the behavior:

 

I've written my function and tied to a stored procedure. If I declare it
upon load and call it immediately, everything works swimmingly.

However, if I try to make the same function call in one of the blocks of
code that fires on the submit back to the page, the function doesn't fire
(nor crash).

 

Where I'm feeling quite n00bish is the same pattern is being employed on the
page for a different module and I'm not seeing what's the issue. 

 

Any suggestions would be greatly appreciated!

 

Matthew R. Nicholson

SolTech, Inc.

Cell: 770-833-5326

 <http://www.soltech.net/> www.soltech.net

To find what you seek in the road of life, the best proverb of all is that
which says: "Leave no stone unturned."
      ~Edward Bulwer Lytton

 


------------------------------------------------------------- 
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform 

For more info, see http://www.acfug.org/mailinglists 
Archive @ http://www.mail-archive.com/discussion%40acfug.org/ 
List hosted by FusionLink <http://www.fusionlink.com>  
------------------------------------------------------------- 




-------------------------------------------------------------
To unsubscribe from this list, manage your profile @ 
http://www.acfug.org?fa=login.edituserform

For more info, see http://www.acfug.org/mailinglists
Archive @ http://www.mail-archive.com/discussion%40acfug.org/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to