figured it out, The OnSessionStart function will not return anything, so I put the result inside a session variable and then on my output page called the session.variable in the cfquery tag instead of the stored procedure result.
It’s good to get into the habit of VAR scoping all cffunction local variables. Lack of VAR scoping can cause thread problems with cfc’s stored in shared scopes.
<!— note, you do need the pound # signs around LSDateFormat either —>
<cfset monthIN = #LSDateFormat(now(), ‘MM’)# & ‘-1-’ & #LSDateFormat(now(), ‘YYYY’)#>
<cfprocparam type=“in” value=“#monthIN#” cfsqltype=“cf_sql_timestamp”>
createDate(year(now()), month(now()), 1)