Copy link to clipboard
Copied
We are experiencing the SESSION variables resetting in CF9.0.2 between page navigation.
As I understand from other forums there was a patch for 9.0.1 to help with this but we are on 9.0.2 which was the cumulative release. Short of recoding every CFLOCATION and HREF. I have not seen a real solution for this issue posted on any forums as of yet.
We have checked and looked into the CFapplication (application.cfc) files and making sure the Application, Session, and Clientmanagment are enabled. (So please save us all time and to do not reply with flippant did you try the obvious questions)
Is there a real fix for this issue in CF9? Or are SESSION variables useless as of the 9th release?
Copy link to clipboard
Copied
cfpb wrote:
... We have checked and looked into the CFapplication (application.cfc) ...
Did you save the application file as Application.cfc, with capital A?
Copy link to clipboard
Copied
The case did not make a difference. Which is fine as it follows the normal CF patterns of the past. Any other peoples input?
Copy link to clipboard
Copied
Create a simple test that contains Application.cfc, test_1.cfm, and test_2.cfm. Configure the session management and create a session variable for test. Call test_1.cfm and see the output of session variable. Call test_2.cfm; and do the same thing. If you see the same values, then it has nothing to do with the server. Otherwise, server configuration issue.
Copy link to clipboard
Copied
We had a similar test that p. Sim described and have determined it is likely to be a server configuration issue. THANK YOU P.SIM for the input. Although not resolved we are now running down the path of troubleshooting our combination of Tomcat 6 and Coldfusion 9.
If anyone knows of any good resources in this space please do let me know.
Thank you!
Copy link to clipboard
Copied
This guy might know. Here's the link:
Copy link to clipboard
Copied
Cfpb,
I have two suggestions for you to try.
(1) Your problem might be caused by the session fixation issue. Pete Freitag describes this quite well in his blog, and gives you 3 possible....
(2) Use J2EE sessions instead (which you can configure in the ColdFusion Administrator).