[pLog-svn] r3739 - plog/trunk

Mark Wu markplace at gmail.com
Wed Jul 19 18:17:46 GMT 2006


That's the reason why we need session in rss.php ...hee hee

Mark 

> -----Original Message-----
> From: Mark Wu [mailto:markplace at gmail.com] 
> Sent: Thursday, July 20, 2006 2:16 AM
> To: 'plog-svn at devel.lifetype.net'
> Subject: RE: [pLog-svn] r3739 - plog/trunk
> 
> After the testing....
> 
> We can't ...
> 
> RssAction is extended from BlogAction ...
> 
> And BlogAction need session to store the blogId and other information.
> 
> If we remove sessioin in rss.php, then we should change 
> blogaction.class.php to adapt this change ...
> 
> So, maybe we shouldn't remove it.
> 
> Mark 
> 
> > -----Original Message-----
> > From: plog-svn-bounces at devel.lifetype.net
> > [mailto:plog-svn-bounces at devel.lifetype.net] On Behalf Of Jon Daley
> > Sent: Thursday, July 20, 2006 2:03 AM
> > To: plog-svn at devel.lifetype.net
> > Subject: Re: [pLog-svn] r3739 - plog/trunk
> > 
> >  	Why do we have session stuff in rss feeds?
> > 
> > On Wed, 19 Jul 2006, mark at devel.lifetype.net wrote:
> > 
> > > Author: mark
> > > Date: 2006-07-19 16:55:02 +0000 (Wed, 19 Jul 2006) New
> > Revision: 3739
> > >
> > > Modified:
> > >   plog/trunk/rss.php
> > > Log:
> > > Fixed a error notice in PHP5.
> > >
> > > Modified: plog/trunk/rss.php
> > > 
> ===================================================================
> > > --- plog/trunk/rss.php	2006-07-19 16:31:56 UTC (rev 3738)
> > > +++ plog/trunk/rss.php	2006-07-19 16:55:02 UTC (rev 3739)
> > > @@ -27,7 +27,7 @@
> > >     //
> > >     SessionManager::Init();
> > >     $session = HttpVars::getSession();
> > > -    if( $session["SessionInfo"] == "" ) {
> > > +    if( empty( $session["SessionInfo"] ) ) {
> > >         $session["SessionInfo"] = new SessionInfo();
> > >         HttpVars::setSession( $session );
> > >     }
> > >
> > > _______________________________________________
> > > pLog-svn mailing list
> > > pLog-svn at devel.lifetype.net
> > > http://devel.lifetype.net/mailman/listinfo/plog-svn
> > >
> > 
> > --
> > Jon Daley
> > http://jon.limedaley.com/
> > 
> > If you cannot convince a man of the self-evident truths of 
> logic, then 
> > all you can do is get a big stick and beat him until he submits.
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.lifetype.net
> > http://devel.lifetype.net/mailman/listinfo/plog-svn



More information about the pLog-svn mailing list