[pLog-svn] r2316 - plog/branches/plog-1.0.2/class/net/http

nick nizhenyuan ni.hero at gmail.com
Thu Jul 14 08:48:41 GMT 2005


ON Dashbaor, they will stuck here and got error message even if they
DIDN'T forge the parameter:

 // if the blog identifier is valid, now we should now check if the user belongs
            // to that blog so that we know for sure that nobody has
tried to forge the
            // parameter in the meantime			 
            $userPermissions = new UserPermissions();
			$blogUserPermissions = $userPermissions->getUserPermissions(
$this->_userInfo->getId(), $this->_blogInfo->getId());
			if( !$blogUserPermissions ) {
				$this->_view = new AdminSimpleErrorView();
				$this->_view->setValue( "message",
$this->_locale->tr("error_no_permissions" ));
				
				return false;		 
			}


On 7/14/05, Jon Daley <plogworld at jon.limedaley.com> wrote:
>        As I was tracking this bug down, it looked like it was a
> session/cookie bug, but eventually figured out it was the header.
>        I would guess this fix will fix your problem (although you didn't
> say what problem you actually got - would your users see a 500/internal
> server error?)
> 
> On Thu, 14 Jul 2005, nick nizhenyuan wrote:
> > Hi,all
> >
> > HELP ME.
> >
> > Mentioned about session, I have one quesiton.
> >
> > The users sometimes got access error when clicking blog on dashboard
> > on my site since I set up the site from the begining of the year(It
> > seems that IE5.0 always meet such ploblems).
> >
> > The plog directory is .../vVlogger/plog  and the document root is .../vVlogger/.
> >
> > in sessionmanager.class.php,   there is such a line:
> > ession_set_cookie_params(0, $sessionPath, $sessionDomain);
> > if I use this code, things will get worse, and if I delete it, the
> > problem will be better but still hanging over:(
> >
> > It's not possiblely that my setup up on session is wrong, cause 99% of
> > the time ,
> > It's working.
> > _______________________________________________
> > pLog-svn mailing list
> > pLog-svn at devel.plogworld.net
> > http://devel.plogworld.net/mailman/listinfo/plog-svn
> >
> 
> **************************************************************
> *                           *   You've got to take the bull  *
> *         Jon Daley         *         by the teeth.          *
> *                           *      -- Sam Goldwyn, Hollywood *
> * http://jon.limedaley.com/ *                      producer  *
> *                           *                                *
> **************************************************************
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.plogworld.net
> http://devel.plogworld.net/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list