Login or Register

RSS IconRecent posts in this topic

avatar
aduess on Jan 15. 2008. 1:31 pm
This is getting really, really annoying but I don't know whether it is a server issue, a browser issue, or an activecollab issue. Opinions would be most appreciated:

When writing a long post, then attaching a file and uploading the file I am frequently logged out and returned to the login screen with the post gone. As you might imagine this is incredibly annoying.

Does this happen to anybody else or should I look at my setup for reasons? My install is hosted by dreamhost, my usual browser is the latest build of Safari on 10.5.1.

Cheers,

Andy
avatar
Valdemar on Jan 16. 2008. 3:46 am
We had similar issues of being logged out of the application after 24 minutes. Did some search on the net and found out that it had to do with the PHP garbage cleanup, the thing that cleans expired sessions, causing you to be logged out. I don't recall the exact reasons (something about other web apps setting it's own default lifetime).

http://blog.centresource.com/2006/05/23/php-session-lifetime-an-adventure/

The above is a pretty good read, and suggest saving sessions to a separate directory. So, by setting a session.save_path for just aC fixed the issue. I did it by adding the following to activecollab/angie/init.php just before @session.start();

ini_set('session.save_path','/path/to/a/directory/for/ac_sessions');


Since I don't know what DreamHost (guessing it's an isp) this may or may not be possible.

Hope it helps
Casper Valdemar
avatar
Ilija Studen on Jan 16. 2008. 5:48 am
Login problems are usually caused by misconfigured session management in PHP. When you click Remember me activeCollab will not use PHP sessions to keep you logged in, but cookies instead so you can use this until the problem with sessions is resolved.
activeCollab team member
avatar
aduess on Jan 16. 2008. 9:19 am
Thanks to both of you. Unfortunately the 'remember me' button doesn't make any different to the problem.
avatar
gegoodwin on May 12. 2008. 5:46 pm
Andy,

Did you find a resolution to this problem. We are on dreamhost also and are having the same problem. I've modified the session save path and increased the session lifetime, but this didn't fix the problem.

Thanks,
Greg
avatar
Ilija Studen on May 13. 2008. 6:20 am
Hi Greg,

Login problems are commonly caused by session misconfiguration. Please check following two articles (especially the part about turning on debugging):

1. Resolving login problems
2. Remember me for 14 days does not work as expected

If that does not help please tell us more about your system behavior - how frequently do you get logged out, on which pages etc.
activeCollab team member
avatar
gegoodwin on May 15. 2008. 8:42 am
Ilija,

Thanks so much for your help. The users I am supporting were all using multiple browsers or multiple computers which was killing their sessions prematurely. Now that we are aware of the session hijacking function the problem has been eliminated.

Greg
avatar
Ilija Studen on May 15. 2008. 9:07 am
Hi Greg,

Thanks for the information. We'll consider making this behavior optional in the future, but currently you cannot stay logged in on multiple machines / browsers at the same time.
activeCollab team member

RSS IconRecent posts in this topic