Ok, but if we go back to my first post: How do i configure MODX to use/allow the other session?
Because the script works fine outside MODX. It is only when using it in modx it fails.
We also use the CMS e107 on the old site, there the script also works fine..
-
MODX Staff
- 10,725 Posts
I suggest logging in to each system after clearing all cookies for the domain and inspecting the cookies set by each to see what the details are. This is the only way to diagnose the issue you are having.
Sorry for bumping this thread, but is there anyone out there who know what we can do, so that our WHMCS sessions is visible thru modx?
EDIT:
Visible/Usable
-
☆ A M B ☆
- 3,141 Posts
Be prepared to be locked out, but can you set the session_cookie_name system setting to "uid" to match what WHMCS uses? I think that (and the blank session handler) should work to use the same sessions in PHP.
-
☆ A M B ☆
- 3,141 Posts
That setting should've existed already..
It definitely should be possible, it's just finding the right mix.
anyone could make this work?
(ie... on a modx site, be able to show a ajax login form or at least the name if the uses is logged on the system).
I'm building my new site on Modx, and I use whmcs as the billing.
I know I can "copy" the header/footer and put on the whmcs, to make whmcs look like the website.
BUT... It would be really nice to be able to make the user login on any page and show his name ... (and for example, be able to carry the order along all the site.... if for example, the user goes from the whmcs order page, to say... modx contact page... have a "cart" link where the order is still there.
Also would be nice to be able to get other data from WHMCS as well to populate some pages in modx.
Anyone have done this already and have some examples?
___________________
www.cascompany.net :: Dedicated & Shared Hosting