• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CF 9 Session Variables Resetting

Guest
Jul 12, 2013 Jul 12, 2013

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?

Views

1.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 15, 2013 Jul 15, 2013

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 16, 2013 Jul 16, 2013

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 16, 2013 Jul 16, 2013

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jul 24, 2013 Jul 24, 2013

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!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 24, 2013 Jul 24, 2013

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 25, 2013 Jul 25, 2013

Copy link to clipboard

Copied

LATEST

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).

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation