Skip navigation
Currently Being Moderated

cfexit

Apr 11, 2012 12:11 PM

 
Replies
  • Currently Being Moderated
    Apr 11, 2012 12:11 PM   in reply to Community Help

    This note in the example is false: "If cfexit is used outside a custom tag, it functions like a cfabort." If cfexit is called from an included template, that particular template halts execution, but the parent template will continue execution (unless you use cfabort instead).

     

    So, clearly cfexit and cfabort do not always function the same when used outside a custom tag.

     

    I'd also imagine there's a good chance that Application.cfc:onRequestEnd() might still fire after a cfexit call, but not cfabort.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 7, 2012 11:38 AM   in reply to jamie_krug

    hi jamie,

    I wondered if you new anything about popping a confirmation message when the user closes the browser.  I've found the window.onbeforeunload, but this applies to the links within the page.  thanks much.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points