I have the following Application.cfc settings...
<!--- Set up the application. ---> <cfset THIS.Name = "Marks CFC App" /> <cfset THIS.ApplicationTimeout = CreateTimeSpan( 0, 2, 0, 0 ) / <cfset THIS.SessionManagement = true /> <cfset THIS.SessionTimeout = CreateTimeSpan( 0, 0, 20, 0 ) />
In the CF Administrator all memory variables are default. I do NOT have j2EE session management checked; I am using coldfusion session management.
I created two pages session.cfm and session2.cfm
session.cfm:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Session Test</title>
</head>
<body>
<h4>Coldfusion Application using Default Session Management</h4>
<cfoutput>
<cfdump var="#session#">
</cfoutput>
<a href="session2.cfm">Next Page</a>
</body>
</html>
session2.cfm:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Session Test</title>
</head>
<body>
<h4>Coldfusion Application using Default Session Management</h4>
<cfoutput>
<cfdump var="#session#">
</cfoutput>
</body>
</html>
As you can see session.cfm just dumps the session variable which reveals the CFID, CFTOKEN, URLTOKEN, and SESSIONID. An anchor tag then takes me to session2.cfm which has the exact same code as session1.cfm.
The CFID on page two always increments by 1 in relation to the CFID on page one. Shouldn't they be the same? I have attached two screenshots of the two separate session dumps. Note the CFID is different.
Any thoughts, ideas, comments, etc. are most welcome.
Peace!

New Topic/Question
Reply




MultiQuote




|