09 Jan 2009
09 Jan 2009
Link to this post
I've got a difficult one for you.
We are trying to integrate a shopping cart system into Sitefinity as UserControls. We would like a user to be able to login to the cart system and be logged into Sitefinity (for forums, blogs, etc) and vice-versa, when user logs in to post to forums/blog/etc, they are then also logged in to their shopping cart.
After some investigation it appears that both Sitefinity and the shopping cart system (Iciniti) are using the FormsAuthentication cookie to store their logged-in user. So, when I log into Sitefinity's login control, the Auth Cookie is Sitefinity's and so the shopping cart thinks it is not logged in. Then when I log into the shopping cart it re-writes the Auth Cookie and Sitefinity is no longer logged in. This all seems normal to me.
My million dollar question is:
Do you know of a way around this in Sitefinity? Is there a way i can trick Sitefinity into believing it is logged-in even when it the Auth Cookie is being used by a different technology?
I really appreciate ANY help you can give on this.
Thanks in advance,