Login on every page problem /Gentoo box/

Hi,

I installed RT via package on Gentoo.
It allows me to log in, but every click leads to login page.
Login goes ok, but then another click leads to login again etc etc.

Every action requires re-login. What’s up?

I tried lighttpd, nginx with fastcgi, apache with modperl.
RT version is 3.6.6, mysql backend.

Cookie has correct name, and it is recieved/sent by browser.
User table has correct data,
sessions table has some data too.

Illa,

We had the same problem  using Oracle/firefox. We had to modify the 

“SetupSessionCookie” file in /…your rt…/local/html/Elements with the
following:

 74  my $session_properties;
 75  if ( $session_class eq 'Apache::Session::File' ) {
 76      $session_properties = {
 77          Directory     => $RT::MasonSessionDir,
 78          LockDirectory => $RT::MasonSessionDir,
 79          Transaction => 1
 80      };
 81  } else {
 82      $session_properties = {
 83          Handle     => $RT::Handle->dbh,
 84          LockHandle => $RT::Handle->dbh,
 85          Transaction => 1
 86      };
 87  }

The "Transaction => 1" code is what solves that problem. There have 

been reports of other causes from other environments, but that did it
for us. Hope it helps.

Kenn
LBNLOn 6/17/2008 8:58 PM, Ilia Kantor wrote:

Hi,

I installed RT via package on Gentoo.
It allows me to log in, but every click leads to login page.
Login goes ok, but then another click leads to login again etc etc.

Every action requires re-login. What’s up?

I tried lighttpd, nginx with fastcgi, apache with modperl.
RT version is 3.6.6, mysql backend.

Cookie has correct name, and it is recieved/sent by browser.
User table has correct data,
sessions table has some data too.


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

This is related gentoo’s default charset of mysql DBs. We fixed it in
3.8 where we use new better schema for mysql that should fix this and
other issues.On Wed, Jun 18, 2008 at 7:58 AM, Ilia Kantor iliakan@gmail.com wrote:

Hi,

I installed RT via package on Gentoo.
It allows me to log in, but every click leads to login page.
Login goes ok, but then another click leads to login again etc etc.

Every action requires re-login. What’s up?

I tried lighttpd, nginx with fastcgi, apache with modperl.
RT version is 3.6.6, mysql backend.

Cookie has correct name, and it is recieved/sent by browser.
User table has correct data,
sessions table has some data too.


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Best regards, Ruslan.