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

HELP: Passing complex session variables

Participant ,
Feb 28, 2007 Feb 28, 2007

Copy link to clipboard

Copied

I have a very complex session variable that I need to carry over into a secured area. What would be a good method to allow this process?

I need to send session.info.blah..... from http://www.mydomain.com to https://secure.mydomain.com without losing any of it's complex architecture.
TOPICS
Advanced techniques

Views

267

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
Feb 28, 2007 Feb 28, 2007

Copy link to clipboard

Copied

the duplicate() function will make a deep copy of a struct, so you could do duplicate(session.info.blah). that'll make the copy without losing any o fthe nested bits.

but not sure how to access the session var between domains like that 😕

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
Participant ,
Feb 28, 2007 Feb 28, 2007

Copy link to clipboard

Copied

CJ, thanks for the reply.

I understand the duplicate() function, but I need to get the struct from http://www.mydomain.com to https://secure.mydomain.com. Currently once I go into 'secure mode' ( http://www....), I can no longer access the structure information I need and had access to when not in 'secure mode' (https://secure....).

Confused as sh... someone help me please.

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
Feb 28, 2007 Feb 28, 2007

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
Participant ,
Feb 28, 2007 Feb 28, 2007

Copy link to clipboard

Copied

LATEST
That was it!

Thanks CJ, you stopped me from punching straight throught my monitor.

All I needed to do was to pass the cftoken within the url when switching over to https://secure.mydomain.com, and continue passing it as long as I'm in secure mode.

This works across domains as long and the server remains the same. At least, that's what I've come to believe.

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