|
From: Jure S. <jur...@li...> - 2002-04-12 12:34:25
|
Here'tis:
+++++
OpenInteract::Session::save (113) >> Saving new session
$VAR1 = {
'user_id' => '1',
'_oi_cache' => {
'group_refresh_on' => '1018616127',
'theme_refresh_on' => '1018614417',
'theme' => bless( {
'parent' => '0',
'description' => 'Your
basic, parent of all themes. Main.',
'title' => 'main',
'credit' =>
'OpenInteract Developers <in...@op...>',
'theme_id' => '1'
}, 'Hisa::Theme' ),
'user_refresh_on' => '1018616127',
'group' => [
bless( {
'notes' => 'Super
group, can do anything',
'group_id' => '1',
'name' => 'admin'
}, 'Hisa::Group' )
],
'user' => bless( {
'first_name' => 'Super',
'user_id' => '1',
'title' => undef,
'language' => 'en',
'last_name' => 'User',
'password' =>
'FTA656mFxR/LQ',
'num_logins' => undef,
'theme_id' => '1',
'removal_date' => undef,
'notes' => undef,
'last_login' => undef,
'email' =>
'adm...@si...',
'login_name' => 'superuser'
}, 'Hisa::User' )
},
'_session_id' => '1f1371e8e525455823c78843bb724d70'
};
OpenInteract::Cookies::Apache::bake (36) >> Setting session to value
1f1371e8e525455823c78843bb724d70
(eval) (273) >> Cookies out: session = 1f1371e8e525455823c78843bb724d70
+++++
But when I follow another link, I get again:
+++++
(eval) (255) >> Trying to use session class: OpenInteract::Session::DBI
OpenInteract::Session::DBI::_create_session (26) >> Trying to fetch
session 1f1371e8e525455823c78843bb724d70
OpenInteract::Session::parse (32) >> Retrieved session properly: $VAR1 = {
'_session_id' => '1f1371e8e525455823c78843bb724d70'
};
OpenInteract::Auth::user (63) >> No uid found in session. Finding login
info.
OpenInteract::Auth::user (72) >> Creating the not-logged-in user.
OpenInteract::Auth::group (256) >> No logged-in user found, not
retrieving groups.
+++++
and at the end:
+++++
(eval) (273) >> Cookies out:
OpenInteract::cleanup (425) >>
Errors: $VAR1 = [
bless( {
'user_id' => 99999,
'user_msg' => undef,
'code' => 305,
'filename' =>
'/usr/local/share/perl/5.6.1/OpenInteract/Handler/GenericDispatcher.pm',
'system_msg' => undef,
'session_id' => '1f1371e8e525455823c78843bb724d70',
'referer' => 'http://hisa.simsic.org/ObjectActivity/',
'url' => '/Security/',
'line' => 148,
'notes' => '8<br>
listing<br>
Hisa::Handler::Security<br>
1<br>
',
'package' => 'OpenInteract::Handler::GenericDispatcher',
'browser' => 'Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:0.9.8) Gecko/20020214',
'type' => 'n/a',
'error_time' => '2002-04-12 14:27:44',
'action' => 'n/a'
}, 'Hisa::ErrorObject' )
];
+++++
It seems it forgets about the ID instantly. Where is the ID info stored?
In sessions.a_session field?
I'm kinda lost here..
Tnx
Jure
Chris Winters wrote:
> On Fri, 2002-04-12 at 05:55, Jure Simsic wrote:
>>What does this mean? Also, is it ok not to have last_accessed field in
>>sessions empty? Are there be any other tables where session info gets
>>written (or not) to check?
>>
>
> No, this is the only session table. Can you delete this cookie (or
> delete the session from the database) and login again, with DEBUG still
> set to 2. You should get a message before the session is created/saved
> telling you what's in the session.
>
|