[TYPO3-dev] unexpected logout
Bartosz Aninowski
bartoszx at SPAMgmail.com
Thu Mar 19 09:48:54 CET 2009
> How can I check what is the reason of unexpected logout in frontend?
> This happend randomly varous users after couple of seconds after sign in.
> Sometime they need to logon couple of times.
> I've enabled devlog but found nothing except logoff: ses_id =
I have more dbeug log regarding above issue.
Something change cookie name during one session.
User logged in, then try to access next subpage and system loged out him
Please look at this debug. Current fe_typo_user is diffrent than id in
sql select.
COOKIE: Array
(
[fe_typo_user] => fc43445c19e594e5b9bdb2a80c54afcb
[PHPSESSID] => nii6rpnp3gfd36fffp5ebpgme4
)
Query: SELECT *
FROM fe_sessions,fe_users
WHERE
fe_sessions.ses_id = 'fba9b581d15d3733df1bdb798fe91d86'
AND fe_sessions.ses_name = 'fe_typo_user'
AND fe_sessions.ses_userid = fe_users.uid
AND (
fe_sessions.ses_iplock='192.168'
OR fe_sessions.ses_iplock='[DISABLED]'
)
AND fe_sessions.ses_hashlock=97656999
AND fe_users.disable=0 AND fe_users.deleted=0 AND
(fe_users.starttime<=1237449540) AND (fe_users.endtime=0 OR
fe_users.endtime>1237449540)
THIS: tslib_feUserAuth::__set_state(array(
'session_table' => 'fe_sessions',
'name' => 'fe_typo_user',
'get_name' => 'ftu',
'user_table' => 'fe_users',
'username_column' => 'username',
'userident_column' => 'password',
'userid_column' => 'uid',
'lastLogin_column' => 'lastlogin',
'enablecolumns' =>
array (
'deleted' => 'deleted',
'disabled' => 'disable',
'starttime' => 'starttime',
'endtime' => 'endtime',
),
'formfield_uname' => 'user',
'formfield_uident' => 'pass',
'formfield_chalvalue' => 'challenge',
'formfield_status' => 'logintype',
'formfield_permanent' => 'permalogin',
'security_level' => 'normal',
'auth_include' => '',
'auth_timeout_field' => 6000,
'lifetime' => 0,
'sendNoCacheHeaders' => 0,
'getFallBack' => 1,
'getMethodEnabled' => 1,
'usergroup_column' => 'usergroup',
'usergroup_table' => 'fe_groups',
'groupData' =>
array (
'title' =>
array (
),
'uid' =>
array (
),
'pid' =>
array (
),
),
'TSdataArray' =>
array (
),
'userTS' =>
array (
),
'userTSUpdated' => 0,
'showHiddenRecords' => 0,
'sesData' =>
array (
),
'sesData_change' => 0,
'userData_change' => 0,
'global_database' => '',
'gc_time' => 0,
'gc_probability' => 1,
'writeStdLog' => false,
'writeAttemptLog' => false,
'hash_length' => 32,
'lockIP' => 2,
'lockHashKeyWords' => 'useragent',
'warningEmail' => '',
'warningPeriod' => 3600,
'warningMax' => 3,
'checkPid' => 1,
'checkPid_value' => '0',
'id' => 'fba9b581d15d3733df1bdb798fe91d86',
'cookieId' => 'fc43445c19e594e5b9bdb2a80c54afcb',
'loginFailure' => false,
'loginSessionStarted' => false,
'get_URL_ID' => '',
'newSessionID' => true,
'forceSetCookie' => false,
'dontSetCookie' => false,
'challengeStoredInCookie' => false,
'loginType' => 'FE',
'svConfig' => NULL,
'writeDevLog' => true,
'is_permanent' => 1,
))
09-03-19 08:59:00 INFO t3lib_userAuth logoff: ses_id =
fba9b581d15d3733df1bdb798fe91d86
More information about the TYPO3-dev
mailing list