I will be building a site using Symphony CMS (XSLT-based) which will have an online store attached (Lemonstand). I'm imagining Lemonstand to sit at /shop/ and for the Symphony build to be in the root. However across the *entire* site I'm going to want the user's login status and mini cart in the header.
In playing around I can easily create a simple Page, with a Template that contains some container XML, that includes the shop:mini_cart Partial. Sweet! I can call this via Symphony CMS and include it in my page.
Not so sweet is that this will probably be called with a file_get_contents. Which loses all session context, since the file_get_contents or cURL will not pass the session across.
Can you think of a solution to enable me to get this basic information via a URL spitting out XML into Views of another application (whether it be a Symphony CMS site, or a Zend MVC site, or a RoR app), while maintaining session context?
Would I need to simply pass "phpsessionid=" in the URL to my Lemonstand page when getting the HTML?
This post has been edited by nickdunn: 17 January 2010 - 01:39 PM

Help
















