<?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: Symfony Session Timeout Annoyance&#8230;</title>
	<atom:link href="http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/</link>
	<description>Technology Holdings Company</description>
	<lastBuildDate>Wed, 10 Sep 2014 10:50:42 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: winzter</title>
		<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/comment-page-1/#comment-14209</link>
		<dc:creator>winzter</dc:creator>
		<pubDate>Tue, 28 Apr 2009 12:04:32 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/#comment-14209</guid>
		<description>This CODE
parent::initialize($context, $parameters = array());

take an error to me
[Tue Apr 28 20:15:44 2009] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function set() on a non-object in /cache/frontend/prod/config/config_core_compile.yml.php on line 1814</description>
		<content:encoded><![CDATA[<p>This CODE<br />
parent::initialize($context, $parameters = array());</p>
<p>take an error to me<br />
[Tue Apr 28 20:15:44 2009] [error] [client 127.0.0.1] PHP Fatal error:  Call to a member function set() on a non-object in /cache/frontend/prod/config/config_core_compile.yml.php on line 1814</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bananoooo</title>
		<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/comment-page-1/#comment-11160</link>
		<dc:creator>bananoooo</dc:creator>
		<pubDate>Wed, 11 Feb 2009 08:52:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/#comment-11160</guid>
		<description>Hi devaraj said...
It&#039;s hard to say what&#039;s wrong without code.
Try to use froward instead to  redirect(forward keeps what you have in POST). 
I&#039;m assuming that on the third page you have valeues from the first (var_dump($_POST))</description>
		<content:encoded><![CDATA[<p>Hi devaraj said&#8230;<br />
It&#8217;s hard to say what&#8217;s wrong without code.<br />
Try to use froward instead to  redirect(forward keeps what you have in POST).<br />
I&#8217;m assuming that on the third page you have valeues from the first (var_dump($_POST))</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: devaraj</title>
		<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/comment-page-1/#comment-9021</link>
		<dc:creator>devaraj</dc:creator>
		<pubDate>Fri, 09 Jan 2009 13:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/#comment-9021</guid>
		<description>sir,
i have one doubt.i am using symfony framework.i have 3 pages totally.first page i added something and submitting the page.coming to second page also i added values and submitting the page.i given my condition is ,while going third page i used if and else statements.in else part i used redirect to come back(second page).when i submit to the second page,the first page values are not coming.can you help me for this question.this is for session in symfony framework.</description>
		<content:encoded><![CDATA[<p>sir,<br />
i have one doubt.i am using symfony framework.i have 3 pages totally.first page i added something and submitting the page.coming to second page also i added values and submitting the page.i given my condition is ,while going third page i used if and else statements.in else part i used redirect to come back(second page).when i submit to the second page,the first page values are not coming.can you help me for this question.this is for session in symfony framework.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcnicholl</title>
		<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/comment-page-1/#comment-2603</link>
		<dc:creator>mcnicholl</dc:creator>
		<pubDate>Mon, 02 Jun 2008 09:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/#comment-2603</guid>
		<description>Hi toolagio!

Thanks for the code. 
I think I would expand the code slightly to test if the namespace exists (if the user is logged in) and if not - then create it by default so that all the rest of my classes don&#039;t need to think about creating the namespace if/when they need to store something there.

But its all semantics :-)</description>
		<content:encoded><![CDATA[<p>Hi toolagio!</p>
<p>Thanks for the code.<br />
I think I would expand the code slightly to test if the namespace exists (if the user is logged in) and if not &#8211; then create it by default so that all the rest of my classes don&#8217;t need to think about creating the namespace if/when they need to store something there.</p>
<p>But its all semantics <img src='http://blog.mcnicholl.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcnicholl</title>
		<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/comment-page-1/#comment-2602</link>
		<dc:creator>mcnicholl</dc:creator>
		<pubDate>Mon, 02 Jun 2008 09:28:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/#comment-2602</guid>
		<description>Hi thichquay,

Terribly sorry for the tardy reply - but here goes :

You can find the myUser class in your application directory :

your_project/apps/your_app/lib

The file is called myUser.class.php.

Hope this helps.</description>
		<content:encoded><![CDATA[<p>Hi thichquay,</p>
<p>Terribly sorry for the tardy reply &#8211; but here goes :</p>
<p>You can find the myUser class in your application directory :</p>
<p>your_project/apps/your_app/lib</p>
<p>The file is called myUser.class.php.</p>
<p>Hope this helps.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: toolagio</title>
		<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/comment-page-1/#comment-2563</link>
		<dc:creator>toolagio</dc:creator>
		<pubDate>Mon, 26 May 2008 14:25:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/#comment-2563</guid>
		<description>halfer is correct.  The best way to do this would be to keep all items you want to expire (upon logout) in one namespace... for example loggedInUser.  See below

  public function initialize($context, $parameters = array()) {
    parent::initialize($context, $parameters = array());
    if($this-&gt;isTimedOut()) {
      $this-&gt;getAttributeHolder()-&gt;removeNamespace(&#039;loggedInUser&#039;);
    }
  }</description>
		<content:encoded><![CDATA[<p>halfer is correct.  The best way to do this would be to keep all items you want to expire (upon logout) in one namespace&#8230; for example loggedInUser.  See below</p>
<p>  public function initialize($context, $parameters = array()) {<br />
    parent::initialize($context, $parameters = array());<br />
    if($this-&gt;isTimedOut()) {<br />
      $this-&gt;getAttributeHolder()-&gt;removeNamespace(&#8216;loggedInUser&#8217;);<br />
    }<br />
  }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thichquay</title>
		<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/comment-page-1/#comment-2555</link>
		<dc:creator>thichquay</dc:creator>
		<pubDate>Sun, 25 May 2008 15:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/#comment-2555</guid>
		<description>hello,
how can I refernce the new myUser class instead of the original sfBasicSecurityUser?  Also, where should I place this class at?  Is it supposed to be under the same sfBasciSecurityUser folder?

Thanks

newbiew</description>
		<content:encoded><![CDATA[<p>hello,<br />
how can I refernce the new myUser class instead of the original sfBasicSecurityUser?  Also, where should I place this class at?  Is it supposed to be under the same sfBasciSecurityUser folder?</p>
<p>Thanks</p>
<p>newbiew</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcnicholl</title>
		<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/comment-page-1/#comment-2442</link>
		<dc:creator>mcnicholl</dc:creator>
		<pubDate>Wed, 30 Apr 2008 18:01:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/#comment-2442</guid>
		<description>Hi Halfer,

I see what you mean.

Handling the &#039;logout&#039; action is simple enough. The issue described here references the timeout side of ending an authenticated session - which could not be properly handled in an action.

But, yeah - application specific namespaces would be a good idea as it bundles all attributes in one space.</description>
		<content:encoded><![CDATA[<p>Hi Halfer,</p>
<p>I see what you mean.</p>
<p>Handling the &#8216;logout&#8217; action is simple enough. The issue described here references the timeout side of ending an authenticated session &#8211; which could not be properly handled in an action.</p>
<p>But, yeah &#8211; application specific namespaces would be a good idea as it bundles all attributes in one space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: halfer</title>
		<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/comment-page-1/#comment-2439</link>
		<dc:creator>halfer</dc:creator>
		<pubDate>Wed, 30 Apr 2008 10:59:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/#comment-2439</guid>
		<description>One thing you can do is to store all session attributes in an application-specific namespace. Then upon logging out, remove the namespace, rather than specific attributes, so that it clears everything. This means that as new attributes are introduced into the system, you don&#039;t have to remember to clear them up as well.</description>
		<content:encoded><![CDATA[<p>One thing you can do is to store all session attributes in an application-specific namespace. Then upon logging out, remove the namespace, rather than specific attributes, so that it clears everything. This means that as new attributes are introduced into the system, you don&#8217;t have to remember to clear them up as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcnicholl</title>
		<link>http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/comment-page-1/#comment-2432</link>
		<dc:creator>mcnicholl</dc:creator>
		<pubDate>Sun, 27 Apr 2008 18:10:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mcnicholl.com/2008/04/25/symfony-session-timeout-annoyance/#comment-2432</guid>
		<description>Hi Fork,

Good idea. Plugins for Symfony are the future...</description>
		<content:encoded><![CDATA[<p>Hi Fork,</p>
<p>Good idea. Plugins for Symfony are the future&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
