Changing default session timeout value in tomcat

Default session timeout value in tomcat is 30 minutes. To set new session timeout value edit web.xml file and add following lines.

    <session-config>
      <session-timeout>xy</session-timeout>
    </session-config>

xy is new session timeout value in minutes. Also don’t forget to restart tomcat.

How to add Google Analytics to Question2Answer plateform

Go to your Google Analytics account and get code for you forum which you need to track.
Now login to your Question2Answer forum from your admin account and follow these steps
1. Go to admin section
2. Click on ‘layout’ tab.
3. Check option “Custom HTML in section of every page: ”
4. Upon checking option, you’ll get textbox.
5. Enter the tracking code you got from Google Analytics account.