有沒有人幫一下我啊
如果我用lifetype的登錄頁面,登錄成功后跳轉到另一個頁面,這個跳轉代碼加在那兒啊?
我按照下面加怎么不行呢,希望有人能幫助一下。謝謝了
            $session = HttpVars::getSession();
            $sessionInfo = $session["SessionInfo"];
            $sessionInfo->setValue( "userInfo", $userInfo );
            $session["SessionInfo"] = $sessionInfo;
            HttpVars::setSession( $session );
			
			$pm->notifyEvent( EVENT_BLOGS_LOADED, Array( "blogs" => &$userBlogs, "from" => "Login" ));			
			
			// check if we are skipping the dashboard
			if( $this->_config->getValue( "skip_dashboard" )) {
				// get the first blog that came
				$this->_blogInfo = $userBlogs[0];
				// set it in the session
            	$session = HttpVars::getSession();
            	$sessionInfo->setValue( "blogInfo", $this->_blogInfo );
            	$session["SessionInfo"] = $sessionInfo;
				header("location: ../Management");
            	HttpVars::setSession( $session );			
            	// and then continue...
            	if( $userInfo->hasPermissionByName( "new_post", $this->_blogInfo->getId()))
					AdminController::setForwardAction( "newPost" );
				else
					//AdminController::setForwardAction( "Manage" );
					header("location: ../Management");
			}
			else {
				$this->_view = new AdminDashboardView( $userInfo, $userBlogs );	
			}