<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Run Magento Code Outside of Magento</title>
	<atom:link href="http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php</link>
	<description>Magento Design and Development Information</description>
	<lastBuildDate>Wed, 30 Jun 2010 05:20:10 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sbditto</title>
		<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/comment-page-2#comment-978</link>
		<dc:creator>sbditto</dc:creator>
		<pubDate>Thu, 10 Jun 2010 17:03:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=142#comment-978</guid>
		<description>@iwalon check out this blog article for wordpress
http://mysillypointofview.wordpress.com/2010/04/08/how-to-use-magentos-session-within-wordpress/</description>
		<content:encoded><![CDATA[<p>@iwalon check out this blog article for wordpress<br />
<a href="http://mysillypointofview.wordpress.com/2010/04/08/how-to-use-magentos-session-within-wordpress/" rel="nofollow">http://mysillypointofview.wordpress.com/2010/04/08/how-to-use-magentos-session-within-wordpress/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ajay</title>
		<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/comment-page-2#comment-974</link>
		<dc:creator>ajay</dc:creator>
		<pubDate>Sat, 05 Jun 2010 06:30:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=142#comment-974</guid>
		<description>this is poor site..it does not describe properly step by step........</description>
		<content:encoded><![CDATA[<p>this is poor site..it does not describe properly step by step&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kealy</title>
		<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/comment-page-2#comment-955</link>
		<dc:creator>Kealy</dc:creator>
		<pubDate>Mon, 03 May 2010 19:26:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=142#comment-955</guid>
		<description>Hi. I am running the $session-&gt;isLoggedIn() script on my localhost. I have successfully been able to run this script outside of magento on a linux server, however on my Windows localhost, a new session is started when i attempt to run this script. Any idea on how I can make these Session Id&#039;s match up?</description>
		<content:encoded><![CDATA[<p>Hi. I am running the $session-&gt;isLoggedIn() script on my localhost. I have successfully been able to run this script outside of magento on a linux server, however on my Windows localhost, a new session is started when i attempt to run this script. Any idea on how I can make these Session Id&#8217;s match up?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: iwalon</title>
		<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/comment-page-2#comment-954</link>
		<dc:creator>iwalon</dc:creator>
		<pubDate>Mon, 03 May 2010 02:13:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=142#comment-954</guid>
		<description>This works perfectly except if the page is inside wordpress it seems not to work any ideas?</description>
		<content:encoded><![CDATA[<p>This works perfectly except if the page is inside wordpress it seems not to work any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vesvello</title>
		<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/comment-page-2#comment-920</link>
		<dc:creator>vesvello</dc:creator>
		<pubDate>Mon, 05 Apr 2010 20:59:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=142#comment-920</guid>
		<description>I am trying to run magento code from externl page with this: 
require_once &#039;app/Mage.php&#039;; 
umask(0); 
Mage::app();
but averytime I run the page I got this: 
The webpage at http://www.midominio.com/ has resulted in too many redirects.

Any ideas?</description>
		<content:encoded><![CDATA[<p>I am trying to run magento code from externl page with this:<br />
require_once &#8216;app/Mage.php&#8217;;<br />
umask(0);<br />
Mage::app();<br />
but averytime I run the page I got this:<br />
The webpage at <a href="http://www.midominio.com/" rel="nofollow">http://www.midominio.com/</a> has resulted in too many redirects.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Omer</title>
		<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/comment-page-2#comment-870</link>
		<dc:creator>Omer</dc:creator>
		<pubDate>Wed, 24 Feb 2010 23:55:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=142#comment-870</guid>
		<description>you are a life saver, thank you</description>
		<content:encoded><![CDATA[<p>you are a life saver, thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Domi</title>
		<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/comment-page-2#comment-868</link>
		<dc:creator>Domi</dc:creator>
		<pubDate>Mon, 22 Feb 2010 16:21:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=142#comment-868</guid>
		<description>yeah, nice one! thx 4 that!</description>
		<content:encoded><![CDATA[<p>yeah, nice one! thx 4 that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kat</title>
		<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/comment-page-2#comment-845</link>
		<dc:creator>Kat</dc:creator>
		<pubDate>Wed, 06 Jan 2010 11:28:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=142#comment-845</guid>
		<description>Hi, first thanks for this blog! Now regarding this solution (for including Ajax), though I can see what you&#039;re getting at, I still can&#039;t figure out what code goes into what file.  Could you explain a bit further regarding that? Thanks a lot!!
(Just for the record, I alredy created some of my own custom modules, so I&#039;m not a complete novice)</description>
		<content:encoded><![CDATA[<p>Hi, first thanks for this blog! Now regarding this solution (for including Ajax), though I can see what you&#8217;re getting at, I still can&#8217;t figure out what code goes into what file.  Could you explain a bit further regarding that? Thanks a lot!!<br />
(Just for the record, I alredy created some of my own custom modules, so I&#8217;m not a complete novice)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Brassart</title>
		<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/comment-page-2#comment-842</link>
		<dc:creator>Evan Brassart</dc:creator>
		<pubDate>Wed, 30 Dec 2009 16:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=142#comment-842</guid>
		<description>@JAMES

You just saved me a ton of head scratching.

[quote]
Found it.
Th secret to reinitializing the logged-in user’s session is to first instantiate ‘core/session’ and THEN ‘customer/session’.
So the magic lines to make the lest example work is:
. . .
Mage::getSingleton(’core/session’, array(’name’=&gt;’frontend’));
$session = Mage::getSingleton(’customer/session’, array(’name’=&gt;’frontend’));
[/quote]

Without the core/session the code below does not work and was Killing Me !!!

THANKS!</description>
		<content:encoded><![CDATA[<p>@JAMES</p>
<p>You just saved me a ton of head scratching.</p>
<p>[quote]<br />
Found it.<br />
Th secret to reinitializing the logged-in user’s session is to first instantiate ‘core/session’ and THEN ‘customer/session’.<br />
So the magic lines to make the lest example work is:<br />
. . .<br />
Mage::getSingleton(’core/session’, array(’name’=&gt;’frontend’));<br />
$session = Mage::getSingleton(’customer/session’, array(’name’=&gt;’frontend’));<br />
[/quote]</p>
<p>Without the core/session the code below does not work and was Killing Me !!!</p>
<p>THANKS!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Subesh</title>
		<link>http://www.exploremagento.com/magento/run-magento-code-outside-of-magento.php/comment-page-2#comment-838</link>
		<dc:creator>Subesh</dc:creator>
		<pubDate>Mon, 21 Dec 2009 13:01:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.exploremagento.com/?p=142#comment-838</guid>
		<description>Nice information, but i do have a good article of working with ajax in magento here.

http://subesh.com.np/2009/11/working-with-ajax-in-magento/</description>
		<content:encoded><![CDATA[<p>Nice information, but i do have a good article of working with ajax in magento here.</p>
<p><a href="http://subesh.com.np/2009/11/working-with-ajax-in-magento/" rel="nofollow">http://subesh.com.np/2009/11/working-with-ajax-in-magento/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
