I’ve hit a roadblock... What I’m trying to do is have Vanilla grab MODx’s session ID from the user_attributes database and then start the session via the ID. But Vanilla still doesn’t know what user is logged in on the MODx side.
So my current task is getting Vanilla to read MODx Cookies since MODx stores the session id in a cookie. But I have very limited knowledge about the cookie domains, names, and such. Is there anyone willing to give me some tips on this subject?
There’s really two obstacles here I can’t get around. The problem in the first paragraph can’t be solved until the second paragraph problem is solved. One last question before I take a break for today is this: Even if I solve the second problem, is it even possible to LOAD an open session if you know the ID of that session?
Thanks for any help any of you can provide.
-
☆ A M B ☆
- 24,524 Posts
Yes, it is... scroll down to the section "Passing the Session ID"
http://il2.php.net/session
You can even save a current session, load up a different session and grab its values and save them, then re-open your current session and load in the values you saved from the other one. That’s how I handled saving a shopping cart when the user goes to check out at the https address; that is considered a different domain and thus gets a totally different session. I pass the original (non-https) session ID in the URL, or you can use a form with a hidden field and pass it in the POST, using the form’s submit button instead of a link. Or use javascript and do a form.submit when clicking on the link. Best it to make the form work as usual, then use the javascript to hide the submit button and create the link, that way the transfer doesn’t fail if the user doesn’t have javascript.
Just wondering if there is any further progress on this integration?
Cheers,
Andreas
yes please, any progress on integrating Vanilla to Modx?
hey, i’ll answer that
http://lussumo.com/community/discussion/7550/modx-and-vanilla/#Item_0
...tx sirlancelot, you are an officer and a gentleman.
hasta pronto 097
ollythebuilder.
Great to have an update, thanks !
I dropped by on their thread, since they asked a bit about MODx...
.: COO - Commerce Guys - Community Driven Innovation :.
MODx est l'outil id
[glow=red,2,300]I’m sort of considering just making a native MODx forum modeled after Vanilla using the same Lussumo Framework. [/glow]
you know, sirlancelot, that would be a very lovely thing to do

god bless you.
o.