Cross posting to cf-talk --------------------------------- You can add a <Cflog> line to verify it is firing. I am looking at something similar and that is how I confirmed it actually is firing. I am just trying to do a cflocation to a login page but the cflocation tag does not appear to be working from the onSessionend event.
Does anybody know why? Dan On 5/10/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Nope. I need to run some code on session end. If I put that in my > application.cfc, how would I call some code in my controller? > > > > *From:* Andrew Scott [mailto:[EMAIL PROTECTED] > *Sent:* Wednesday, May 09, 2007 16:43 > *To:* [EMAIL PROTECTED] > *Subject:* Re: Using OnSessionEnd with Model-Glue > > > > OnSessionEnd will not be able to be controlled any controller. > > > > Are you getting confused with requestEnd? > > > > > > On 5/10/07, [EMAIL PROTECTED] < [EMAIL PROTECTED]> wrote: > > Anybody have a tip on how I can use the session end event? > > > > I tried defining it like so in my config: > > <message-listener message="OnSessionEnd" function=" OnSessionEnd " /> > > > > And as follows in the controller: > > > > <cffunction name=" OnSessionEnd " access="Public" returntype=" > ModelGlue.Core.Event" output="false"> > > <cfargument name="event" type="ModelGlue.Core.Event" > required="true"> > > </cffunction> > > > > That didn't seem to do anything so the code in the session end function > did not seem to fire. > > > > What could I be doing wrong? > > > > *---------------------------------* > > *Boyan Kostadinov* > Web Administrator/Developer > > * Indium Corporation of America <http://www.indium.com/>* > * Email: [EMAIL PROTECTED] > ( Office: 315-381-2208 > > ( Fax: 315-853-1000 > > > ***This email, its content and any files transmitted with it are intended > solely for the addressee(s) and may be legally privileged and/or > confidential. If you are not the intended recipient please delete and > contact the sender by return and delete the material from any computer. Any > review, retransmission, dissemination or other use of, or taking of any > action in reliance upon, this information by persons or entities other than > the intended recipient is prohibited. > > Messages sent via this medium may be subject to delays, non-delivery and > unauthorized alteration. This email has been prepared using information > believed by the author to be reliable and accurate, but Indium Corporation > makes no warranty as to accuracy or completeness. In particular, Indium > Corporation does not accept responsibility for changes made to this email > after it was sent. Any opinions or recommendations expressed herein are > solely those of the author. They may be subject to change without notice.*** > > > > > > -- > > > > Senior Coldfusion Developer > Aegeon Pty. Ltd. > www.aegeon.com.au > Phone: +613 8676 4223 > Mobile: 0404 998 273 > > ***This email, its content and any files transmitted with it are intended > solely for the addressee(s) and may be legally privileged and/or > confidential. If you are not the intended recipient please delete and > contact the sender by return and delete the material from any computer. Any > review, retransmission, dissemination or other use of, or taking of any > action in reliance upon, this information by persons or entities other than > the intended recipient is prohibited. > > Messages sent via this medium may be subject to delays, non-delivery and > unauthorized alteration. This email has been prepared using information > believed by the author to be reliable and accurate, but Indium Corporation > makes no warranty as to accuracy or completeness. In particular, Indium > Corporation does not accept responsibility for changes made to this email > after it was sent. Any opinions or recommendations expressed herein are > solely those of the author. They may be subject to change without notice.*** > > > --^^--------------------------------------------------------------- > This email was sent to: > [EMAIL PROTECTED] > > EASY UNSUBSCRIBE click here: http://topica.com/u/?b1drHn.bP4Bnd.ZGFuLm9r > Or send an email to: [EMAIL PROTECTED] > > For Topica's complete suite of email marketing solutions > visit:http://www.topica.com/?p=TEXFOOTER > --^^--------------------------------------------------------------- > > -- -------------- Dan O'Keefe -- -------------- Dan O'Keefe ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:283208 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

