Andrew,

a onSessionEnd method should not return anything ;-)
And yes it exists in my Application.cfc.


On 5/14/07, Andrew Scott <[EMAIL PROTECTED]> wrote:
>
> Taco,
>
> If this is a scheldued CF event, then I can understand why there is no
> session and the onSessionEnd is being fired. Now I know this is not a
> problem normally, but maybe the scheduled event requires the <cfreturn true
> /> have you tried that, in the method in Application.cfc? not sure if you
> said that method existed in the Application.cfc or not, but it might pay
> to add it.
>
> But on a side note, the onError method should be able to provide all the
> same details as cfcatch provides so a stack trace might be good to add to
> give some more information.
>
>
>
>  On 5/14/07, Taco Fleur <[EMAIL PROTECTED]> wrote:
>
> >  Agreed, but here is the scenario again;
> >
> > The onError method in Application.cfc sends an email when an error
> > occurs, one of the errors is as following (copied and pasted exactly as per
> > the way we get it);
> >
> >
> > browser:
> > reference number: 20070508103502
> > Date: 8/05/2007 10:35
> >
> > Event Handler Exception.
> >
> > An exception occurred
> >
> > when invoking a event handler method from Application.cfc The method
> > name is: onSessionEnd.
> >
> > referer:
> > remote address:
> > host/script:
> > path:
> > query:
> >
> > Just to be sure I've searched all log, Application, Exception etc. logs
> > for more information, but its not in there.
> >
> >
> >
> >
> >  On 5/14/07, MrBuzzy <[EMAIL PROTECTED]> wrote:
> > >
> > >
> > > It doesn't seem right to hide the errors just because you cant find
> > > the cause.. I'd like to help more but i don't think you've posted
> > > enough info for anyone to work it out. So what else can you give us?
> > >
> > > On 5/14/07, Taco Fleur <[EMAIL PROTECTED] > wrote:
> > > > I've noticed there is no cgi referer or remote address, so I've just
> > > made a
> > > > rule to block emails when an error occurs that has no referer or
> > > remote
> > > > address. I'm thinking that its caused by ColdFusion task scheduler,
> > > I have a
> > > > task that runs every 5 minutes.
> > > >
> > > > hhmmm, I guess no error would contain the referer or remote address
> > > as the
> > > > methods are called by ColdFusion itself not the client.
> > > >
> > > >
> > > > On 5/12/07, Chris Velevitch < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > >
> > > > > Do you have a <cftry type="any"> block and <cflog> all the
> > > attributes
> > > > > of cfcatch?
> > > > >
> > > > >
> > > > > Chris
> > > > > --
> > > > > Chris Velevitch
> > > > > Manager - Sydney Flash Platform Developers Group
> > > > > m: 0415 469 095
> > > > > www.flashdev.org.au
> > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Taco Fleur - http://www.pacificfox.com.au
> > > > Web Design, Web development, Graphic Design and Complete Internet
> > > Solutions
> > > > an industry leader with commercial IT experience since 1994 …
> > > >
> > > > >
> > > >
> > >
> > >
> >
> >
> > --
> > Taco Fleur - http://www.pacificfox.com.au
> > Web Design, Web development, Graphic Design and Complete Internet
> > Solutions
> > an industry leader with commercial IT experience since 1994 …
> > www.aegeon.com.au
> > Phone: +613  8676 4223
> > Mobile: 0404 998 273
> > > >
> >


-- 
Taco Fleur - http://www.pacificfox.com.au
Web Design, Web development, Graphic Design and Complete Internet Solutions
an industry leader with commercial IT experience since 1994 …

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" 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/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to