> I am storing some variables as session variables in my
> application. Then, I
> am trying to store these variables into en MS SQL 2000 DB
> whenever a timeout
> happens. I am trying to do it accessing these session
> variables from
> application.cfc and passing these variables to a Store
> Procedure that, in
> turn, stores the values into my database. My code in
> application.cfc is as
> follows:

There are two scope structures passed to the onSessionEnd event...
ApplicationScope and SessionScope... I _think_ application scope is
passed before session scope, so by omitting the ApplicationScope
argument in your onSessionEnd method, the SessionScope argument is
receiving the Application variables. That would be my best guess from
looking at your code. Test the onSessionEnd method by passing the
application and session scopes to it and executing it manually like
this:

<cffunction name="onRequestStart">
        <cfset this.onSessionEnd(application,session)>
</cffunction>

This should produce a visible error in your browser -- otherwise the
error isn't logged anywhere, so it's impossible to know for certain
what error is occurring in onSesisonEnd.

s. isaac dealey     954.522.6080
new epoch : isn't it time for a change?

add features without fixtures with
the onTap open source framework

http://www.fusiontap.com
http://coldfusion.sys-con.com/author/4806Dealey.htm


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:211619
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to