This is most likely a drupal problem rather than a ctools_object_cache problem, but since there are no issues on the topic, I'll post here for others future reference.
I have a site which toggles between HTTPS and HTTP. Logins / Admin & E-Commerce are HTTPS, everything else is HTTP.
I have a workflow, which allows an anonymous user to create a node, then after that's done, it's stored in ctools_object_cache. This is done under HTTP.
After the node form is filled out, and the node is saved in ctools_object_cache, they are redirected to signup which is HTTPS. I pull some values from the node, to assist in pre-filling fields on the signup form.
This used to work under only HTTP, but I've noticed that when I store something in ctools_object_cache (not using a custom session variable), it is no longer available under HTTPS due to having a different session id.
As mentioned, this is a Drupal quirk and not really a ctools issue, but I figured I'd post this problem for future reference.
Comments
Comment #1
j0rd CreditAttribution: j0rd commentedI've implemented a wrapper class to "resolve" this issue. Ideally though, ctools_object_cache table would hold both ssid and sid sessions to mitigate this problem.
Comment #2
EternalLight CreditAttribution: EternalLight commented#1 worked for me, thank you.