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

Use of session variables disappeared

Contributor ,
Jun 04, 2012 Jun 04, 2012

Hi - I have a really old CF site that has worked perfectly all these years.

Sometime over the past 7 days, my all of my session variables have ceased to work.

These session variables appear on the pages where I set them up, but the minute I transfer to a new page, they are completely gone. They do not appear in the debug information at all.

I think that there has been some change in CF Server 8, but my system administrator says that he did not change any settings. (If he had, what would it be? I don't have admin access.)

Like I said, they worked perfectly until very recently and luckily, I don't use a load of them.

If push comes to shove, I can use cookies, but I really don't want to sit through an evening of debugging.

What do you think went wrong?

Help!

951
Translate
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
Advocate ,
Jun 04, 2012 Jun 04, 2012

If you are not on an SSL conneciton, check the cookies that are being set to see if they are marked "SECURE".  If they are, then you cannot use those cookies over a non-SSL connection. If you do they will not be sent with the request.

The onyl other thing I can think of is that somehow your session timeouts have been set to 0 or only a few seconds.

Hope that helps,

Jason

Translate
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
Contributor ,
Jun 04, 2012 Jun 04, 2012
LATEST

I'll look into session timeouts - never something that I needed to do in the past, however.

Translate
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 Beginner ,
Jun 04, 2012 Jun 04, 2012

I'm dealing with this exact same problem right now...I have CF9 and a slew of web apps that have worked for over ten years now...I recently installed a security hotfix, which has inadvertently changed the way session variables work.  I've found that users using IE lose their session data between page loads.  I'm still working to fix this problem, and still trying to find a solution.  But, I suspect that your systems admin didn't change any settings, but make sure you find out if he's installed any CF hotfixes, updates, or security updates.  This may point you in the right direction.

Translate
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
Contributor ,
Jun 04, 2012 Jun 04, 2012

Well - thank U. My system admin said he did not touch a thing, and furthermore, my test works well for him.

Here is my test:

http://www.littleviews.com/test/test_1.cfm

Page 2 should fail, or at least it does for me (I live on the East Coast in Weehawken), but it does not to him (the Milwaukee/Waukesha area in Wisconsin)

Karen

Translate
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