InMotion Hosting Support Center
This is archived and longer maintained. Any information contained in this article may be out of date.

In our last Joomla 3.0 tutorial, we talked a little about sessions, specifically the session lifetime setting. Again, the session lifetime setting allows you to change the amount of time idle users will stayed logged into Joomla 3.0

Joomla 3.0 includes another session setting you can adjust, Session Handler. Joomla gives the following description on this setting:

Session Handler:
The mechanism by which Joomla! identifies a User once they are connected to the web site using non-persistent cookies.


What Session Handler options are available?

At the time of this writing, Joomla 3.0 only gives you two options for Session Handler:


  1. Database
  2. None


Where is session data stored in the database?

When the Database option is set for Session Handler, session data is stored in a table named session. For example, if you have a table prefix of abc set for all of your Joomla tables, the session data would be stored in abc_session.

session-data-in-the-databaseMost of the information stored in a session within the database is not easily identifiable, but it can be seen on your server hosting joomla. For example, if you look at the screenshot to the left, you will see that the information stored in the data field is difficult to interpret simply by looking at it.


What's next?

Typically there are additional options for Session Handler, such as File. With an option for file session handling, Joomla 3.0 would save session data to text files on your server rather than as rows in your session table. At the time of this writing, database is the only session handler option. If additional session handlers become available, we'll keep you posted.

Joomla Community Google+ Hangout #3

June 3rd, 2014

Thank you @RustyJoomla for letting me speak on the Joomla Community Google+ Hangout!

Click here to watch!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

40,963 Points
2014-09-26 12:07 pm
Hello Ronak,

Thanks for the question. We unfortunately can't provide a coding solution for you. I believe that you need to correct your if statement it's always resulting in the ELSE action. Your question would be better served if you were to look/post in the Joomla forums pertaining to session issues. Joomla programmers could then look at your could and possibly advise or even give you a coding solution. If you do post, make sure to indicate what you're trying to accomplish with your code.

Kindest regards,
Arnel C.
n/a Points
2014-09-26 2:29 am

Hi, I am using below code for session in joomla 3.2.1, every time it is exicuteing else part.

is it i am doing any thind wrong? please help me. and give me solution for session clear in joomla.

$session  = JFactory::getSession();if ($session->clear('groupids')){      $session->set('groupids', $groupIds);

}else {echo "string" die;}


n/a Points
2014-07-18 4:10 am
Tell me if i want to logout from session whethter user is either active on site or idle,.
11,186 Points
2014-07-18 10:45 am
Unfortunately, your question is a bit unclear. Could you please clarify?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

4 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!