Skip to main content
WolfShade
Legend
May 7, 2015
Question

Keeping SESSION alive between HTTP and HTTPS? Or even across sub-domains?

  • May 7, 2015
  • 2 replies
  • 790 views

Hello, all,

I've been searching Google for this, and I'm finding a lot of information about ColdFusion session variables; but I'm not finding anything (so far) on keeping session variables alive between HTTP and HTTPS, or across sub-domains (ie, from www.domain.com to img.domain.com to vote.domain.com, etc.)

Is there a tutorial or KB on this subject?

V/r,

^_^

This topic has been closed for replies.

2 replies

tej_web
Inspiring
May 7, 2015
WolfShade
WolfShadeAuthor
Legend
May 15, 2015

Thanks for the link, @tej_web.  I should have provided more specifics in my original post.

The link you provided _should_ work, if the CF Server in question is v11 update 5.  We have submitted CF11 to testbed, but it will be quite a while before it's approved (IF it's approved.)

We are currently using CF9.0.1 for some sites/apps, and CF10 for the rest.

V/r,

^_^

Inspiring
May 15, 2015

Why do you think it wont it work in CF 9 or CF 10?

Inspiring
May 7, 2015

How have you set up the session in the CF admin? I.e. are you using J2EE sessions etc.

Are these subdomains located on the same server as the first request? Do they all have the same application name? (setup in the Application.cfc)


There is some examples here - SESSION variables across subdomains. How to make them visible? on how others have done it.

WolfShade
WolfShadeAuthor
Legend
May 7, 2015

I just received confirmation from our admin that the J2EE session variables are being used.

Subdomains are on same server, same application name.

I am equally concerned about protocols. 

V/r,

^_^