PEAK XOOPS - Re: After users login, sends them back to login page in englishin japanese

Re: After users login, sends them back to login page

List posts in the topic

none Re: After users login, sends them back to login page

msg# 1.2
depth:
1
Previous post - Next post | Parent - Children.1 | Posted on 2009/1/13 13:10
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi auxiv.

Do you try XCL 2.1.6?
"xoops cube" is just a name for a project.

There can be some reasons...

(1) broken session table
(2) referer problem
(3) cookie problem
(4) Protector's setting 'Protected IP bits for the session'


You can try this preload for clearing the problem for (1) or (2).

put it as ROOT/preload/FileSession.class.php
<?php

if (!defined('XOOPS_ROOT_PATH')) exit();

class FileSession extends XCube_ActionFilter
{
	function preBlockFilter()
	{
		$this->mRoot->mDelegateManager->add('XCube_Session.SetupSessionHandler', 'FileSession::setupSessionHandler');
	}

	function setupSessionHandler()
	{
		ini_set( 'session.save_handler' , 'files' ) ;
		ini_set( 'session.save_path' , XOOPS_TRUST_PATH.'/session' ) ;
	}
}

Before using this preload, make a folder XOOPS_TRUST_PATH/session and set it writable(0777).
Votes:10 Average:9.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!