0 Replies Latest reply on Jun 5, 2008 1:15 AM by Newsgroup_User

    Detect if a function was called remotely

    Level 7
      In 2005, chris.mellon asked this:

      {quote}
      I'd like to set the content-type of my remote CFFUNCTION calls to text/xml
      (something that CF should do for me, but oh well). However, I don't want
      this to happen when I call the same functions from other pages within cold
      fusion. Is there a way I can detect if a function is being called remotely?
      {quote}
      ( http://tinyurl.com/3z2mad).

      The same question - "Is there a way I can detect if a function is being
      called remotely?" - has just popped into my mind, and I cannot find the
      answer.

      Chris, if you're still around: did you work this out?

      Anyone else know?

      --
      Adam