We have just migrated from Coldfusion 8 to Coldfusion 9 and our session variables are no longer working. Our old server was IIS6, Windows 2003 running Coldfusion 8 and our new server is IIS7, Windows 2008 running Coldfusion 9.
No code has been changed and the session variables that were set to last 20 minutes now act like local variables that reset with every page click on the web site.
Any ideas would be helpful.
Thank you.
i.e. are you using 'this. scope to set your timeout?
<cfset this.sessionManagement = true />
<cfset this.sessionTimeout = createTimeSpan( 0, 0, 5, 0 ) />
and are you starting the sessions in the session start request?
also have you checked your application time out? if you have not defined this on CF9 you could be using the default or set the default to something short.
if you have not already set the application timeout in your application.cfc
<cfset this.applicationTimeout = createTimeSpan( 0, 0, 1, 0 ) />
if your still have issues please post your application.cfc code.
Thanks