Priya, The "page" value that is send to the OnRequest() method will never be onSessionEnd or onApplicationEnd. I think you are getting confused in how the Application.cfc works. Those two methods (onSessionEnd() and onApplicationEnd()) are executed outside of any page request (they are called directly by the ColdFusion application server). In fact, if a page request ever triggered those, it would be impossible as the very existence of a page request would negate the need for session or application timeout (since these are events fired due to inactivity).
I think you need to read up a bit on Application.cfc. Try taking a look at this: http://www.bennadel.com/blog/726-ColdFusion-Application-cfc-Tutorial-And-Application-cfc-Reference.htm Cheers. -- Ben Nadel Adobe Community Expert Adobe Certified Advanced ColdFusion Developer Manager New York ColdFusion User Group http://www.bennadel.com Need ColdFusion Help? http://www.bennadel.com/Ask-Ben ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321824 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4