Problem creating session
Hello,
I'm using CF8 with Windows7.
In my CF administration session variables are enabled but not in J2EE mode.
In my application.cfc I have these lines :
<cfcomponent output="false">
<cfset this.name="app">
<cfset this.sessionManagement="true">
<cfset this.loginStorage="session">
<cfset this.setClientCookies="false">
<cfset this.sessiontimeout="#createtimespan(0,0,20,0)#">
In my onRequest function I try to set a session variable :
<cfif (not(structKeyExists(session, "varName")))>
<cfset session.varName = createobject("component", "cfcs.componentName")>
</cfif>
Why the session.varName isn't created ?
If I set the J2EE mode in cf administration everything goes right.
Unfortunately my provider hasn't the session variable in J2EE mode.
Thanks,
Davide
