Hello everyone, I've got a Joomla! site set up with Amember, and it all works very well apart from one niggly issue. After a certain period the user is automatically logged out, which is fine by me. The problem is that the user has no idea this has happened, and sees nothing to suggest he's logged out except the inability to access content. He can still see a "Hello $NAME!" and a logout link. The problem is solved in the short term by logging out and logging in again using the links that the user can see. I'm guessing that Amember is logging the user out and Joomla! isn't. How can I resolve this? Best wishes!
It's pretty much probably vice versa - i.e. it's Joomla that logs the user out as by default I believe that aMember does not have any session timeout. In the Joomla admin panel, under Global configuration >> System, there is an option called "Session Lifetime" which is normally set to 240 minutes. Just set it to something longer, I believe there is no limit on what you can set (I haven't tried it though) so you can virtually prevent Joomla from logging the user out. Another option that Alex mentioned a while ago: In the /amember/config.inc.php add this line as the very first one: ini_set('session.cookie_time', 14400); 14400 seconds is 4 hours so it's the same as the Joomla default. But I believe it does not work well with my installation. I am using Joomla 1.5. Tomas