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

ColdFusion Server settings and JavaScript

LEGEND ,
Jan 06, 2011 Jan 06, 2011

Are there any CF Server settings that might interfere with or have any kind of impact (large or small) on client-side JavaScript?

Yes, I know that the two are mutually exclusive (client-side vs server-side) and have limited interaction.  But I've got a situation that is really causing me to want to rip my hair out.

Client-side JavaScript that works flawlessly in the development area is breaking in the staging area (and will probably break in production area) and I'm trying to understand why.

Both servers are IIS6, identical (near as I can tell) settings for both, ditto for the CF9 Servers.

I have JavaScript code that is setting/reading/manipulating a JavaScript cookie that contains information about the expanded/hidden status of certain DIV elements.  In development, it is performing as expected.  In staging, this is what it's doing:

If "expand all" is clicked, this is the cookie value:

vddstatus
cat1,1|cat2,1|cat3,1|cat4,1|cat5,1|cat6,1|cat7,1|cat8,1|cat9,1
domain.com/
1088
1060073856
33063389
2884050624
30125481

If "hide all" is clicked, this is the cookie value:

vddstatus
cat1,0|cat2,0|cat3,0|cat4,0|cat5,0|cat6,0|cat7,0|cat8,0|cat9,0
domain.com/
1088
1060073856
33063389
2884050624
30125481

If any individual "hide" or "expand" is clicked, this is the  cookie value:

vddstatus
TLTUID=29A2C6BA180E1018889AF39A9D19E869
domain.com/
1088
1060073856
33063389
1613223328
30125482

Any ideas??

^_^
384
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 ,
Jan 06, 2011 Jan 06, 2011

Wolfshade,

It may due to the settings on the browser

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
LEGEND ,
Jan 06, 2011 Jan 06, 2011
LATEST

Same browser, same computer, the only visible difference is domain name; the dev server is on one domain, the staging server is on a second domain, the production server on a third domain.  So far, I've only tested on dev server and staging server.  I open IE, test on dev, it works.  I close IE, wait ten seconds, open IE, test on staging, it doesn't work.

^_^

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